@@ -11,7 +11,7 @@ class BindingTest extends TestCase
11
11
12
12
protected function _setUp ()
13
13
{
14
- $ this ->form = new FormBuilder ;
14
+ $ this ->form = new FormBuilder () ;
15
15
}
16
16
17
17
protected function _tearDown ()
@@ -128,7 +128,7 @@ public function testBindUnsetProperty()
128
128
129
129
public function testBindMagicProperty ()
130
130
{
131
- $ object = new MagicGetter ;
131
+ $ object = new MagicGetter () ;
132
132
$ this ->form ->bind ($ object );
133
133
134
134
$ expected = '<input type="text" name="not_magic" value="foo"> ' ;
@@ -167,8 +167,8 @@ public function testBindNestedArray()
167
167
'city ' => 'Roswell ' ,
168
168
'tree ' => [
169
169
'has ' => [
170
- 'nested ' => 'Bird '
171
- ]
170
+ 'nested ' => 'Bird ' ,
171
+ ],
172
172
],
173
173
],
174
174
];
@@ -188,7 +188,7 @@ public function testBindNestedArrayWithMissingKey()
188
188
$ array = [
189
189
'address ' => [
190
190
'tree ' => [
191
- 'nested ' => 'Bird '
191
+ 'nested ' => 'Bird ' ,
192
192
],
193
193
],
194
194
];
@@ -227,8 +227,8 @@ public function testBindNestedObject()
227
227
'city ' => 'Roswell ' ,
228
228
'tree ' => [
229
229
'has ' => [
230
- 'nested ' => 'Bird '
231
- ]
230
+ 'nested ' => 'Bird ' ,
231
+ ],
232
232
],
233
233
],
234
234
]));
@@ -250,8 +250,8 @@ public function testBindNestedMixed()
250
250
'city ' => 'Roswell ' ,
251
251
'tree ' => json_decode (json_encode ([
252
252
'has ' => [
253
- 'nested ' => 'Bird '
254
- ]
253
+ 'nested ' => 'Bird ' ,
254
+ ],
255
255
])),
256
256
],
257
257
];
@@ -407,7 +407,7 @@ public function testExplicitCheckOnRadioTakesPrecedenceOverBinding()
407
407
408
408
private function getStubObject ()
409
409
{
410
- $ obj = new stdClass ;
410
+ $ obj = new stdClass () ;
411
411
412
412
$ obj->
email =
'[email protected] ' ;
413
413
$ obj ->first_name = 'John ' ;
0 commit comments