@@ -252,7 +252,7 @@ public static function provideInitializeValues()
252
252
'appends the submitted button value but not other submit buttons ' ,
253
253
'<input type="submit" name="bar" value="bar" />
254
254
<input type="submit" name="foobar" value="foobar" /> ' ,
255
- ['foobar ' => ['InputFormField ' , 'foobar ' ]],
255
+ ['foobar ' => ['InputFormField ' , 'foobar ' ]],
256
256
],
257
257
[
258
258
'turns an image input into x and y fields ' ,
@@ -263,38 +263,38 @@ public static function provideInitializeValues()
263
263
'returns textareas ' ,
264
264
'<textarea name="foo">foo</textarea>
265
265
<input type="submit" /> ' ,
266
- ['foo ' => ['TextareaFormField ' , 'foo ' ]],
266
+ ['foo ' => ['TextareaFormField ' , 'foo ' ]],
267
267
],
268
268
[
269
269
'returns inputs ' ,
270
270
'<input type="text" name="foo" value="foo" />
271
271
<input type="submit" /> ' ,
272
- ['foo ' => ['InputFormField ' , 'foo ' ]],
272
+ ['foo ' => ['InputFormField ' , 'foo ' ]],
273
273
],
274
274
[
275
275
'returns checkboxes ' ,
276
276
'<input type="checkbox" name="foo" value="foo" checked="checked" />
277
277
<input type="submit" /> ' ,
278
- ['foo ' => ['ChoiceFormField ' , 'foo ' ]],
278
+ ['foo ' => ['ChoiceFormField ' , 'foo ' ]],
279
279
],
280
280
[
281
281
'returns not-checked checkboxes ' ,
282
282
'<input type="checkbox" name="foo" value="foo" />
283
283
<input type="submit" /> ' ,
284
- ['foo ' => ['ChoiceFormField ' , false ]],
284
+ ['foo ' => ['ChoiceFormField ' , false ]],
285
285
],
286
286
[
287
287
'returns radio buttons ' ,
288
288
'<input type="radio" name="foo" value="foo" />
289
289
<input type="radio" name="foo" value="bar" checked="bar" />
290
290
<input type="submit" /> ' ,
291
- ['foo ' => ['ChoiceFormField ' , 'bar ' ]],
291
+ ['foo ' => ['ChoiceFormField ' , 'bar ' ]],
292
292
],
293
293
[
294
294
'returns file inputs ' ,
295
295
'<input type="file" name="foo" />
296
296
<input type="submit" /> ' ,
297
- ['foo ' => ['FileFormField ' , ['name ' => '' , 'type ' => '' , 'tmp_name ' => '' , 'error ' => 4 , 'size ' => 0 ]]],
297
+ ['foo ' => ['FileFormField ' , ['name ' => '' , 'type ' => '' , 'tmp_name ' => '' , 'error ' => 4 , 'size ' => 0 ]]],
298
298
],
299
299
];
300
300
}
@@ -830,7 +830,7 @@ public function testFormRegistrySetValues()
830
830
3 => 3 ,
831
831
'bar ' => [
832
832
'baz ' => 'fbb ' ,
833
- ],
833
+ ],
834
834
]);
835
835
}
836
836
0 commit comments