Fix multiline array CS
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ class DotNotation
|
||||
'hometown' => array(
|
||||
'city' => 'Cincinnati',
|
||||
'state' => 'OH',
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
public $normal = 'Normal';
|
||||
|
||||
@@ -9,14 +9,14 @@ class GrandParentContext
|
||||
{
|
||||
$this->parent_contexts[] = array('parent_id' => 'parent1', 'child_contexts' => array(
|
||||
array('child_id' => 'parent1-child1'),
|
||||
array('child_id' => 'parent1-child2')
|
||||
array('child_id' => 'parent1-child2'),
|
||||
));
|
||||
|
||||
$parent2 = new stdClass();
|
||||
$parent2->parent_id = 'parent2';
|
||||
$parent2->child_contexts = array(
|
||||
array('child_id' => 'parent2-child1'),
|
||||
array('child_id' => 'parent2-child2')
|
||||
array('child_id' => 'parent2-child2'),
|
||||
);
|
||||
|
||||
$this->parent_contexts[] = $parent2;
|
||||
|
||||
@@ -8,6 +8,6 @@ class RecursivePartials
|
||||
'child' => array(
|
||||
'name' => 'Justin',
|
||||
'child' => false,
|
||||
)
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ class MagicObject
|
||||
{
|
||||
protected $_data = array(
|
||||
'foo' => 'And it worked the second time.',
|
||||
'bar' => 'As well as the third.'
|
||||
'bar' => 'As well as the third.',
|
||||
);
|
||||
|
||||
public function __get($key)
|
||||
|
||||
@@ -13,7 +13,7 @@ class SectionsNested
|
||||
array('name' => 'Super Macho Man'),
|
||||
array('name' => 'Piston Honda'),
|
||||
array('name' => 'Mr. Sandman'),
|
||||
)
|
||||
),
|
||||
),
|
||||
array(
|
||||
'name' => 'Mike Tyson',
|
||||
@@ -22,13 +22,13 @@ class SectionsNested
|
||||
array('name' => 'King Hippo'),
|
||||
array('name' => 'Great Tiger'),
|
||||
array('name' => 'Glass Joe'),
|
||||
)
|
||||
),
|
||||
),
|
||||
array(
|
||||
'name' => 'Don Flamenco',
|
||||
'enemies' => array(
|
||||
array('name' => 'Bald Bull'),
|
||||
)
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user