@@ -141,7 +141,7 @@ public function testCreateFromChoicesFlatValuesAsCallable()
141
141
{
142
142
$ list = $ this ->factory ->createListFromChoices (
143
143
['A ' => $ this ->obj1 , 'B ' => $ this ->obj2 , 'C ' => $ this ->obj3 , 'D ' => $ this ->obj4 ],
144
- [ $ this , ' getValue ' ]
144
+ $ this -> getValue (...)
145
145
);
146
146
147
147
$ this ->assertObjectListWithCustomValues ($ list );
@@ -186,7 +186,7 @@ public function testCreateFromChoicesGroupedValuesAsCallable()
186
186
'Group 1 ' => ['A ' => $ this ->obj1 , 'B ' => $ this ->obj2 ],
187
187
'Group 2 ' => ['C ' => $ this ->obj3 , 'D ' => $ this ->obj4 ],
188
188
],
189
- [ $ this , ' getValue ' ]
189
+ $ this -> getValue (...)
190
190
);
191
191
192
192
$ this ->assertObjectListWithCustomValues ($ list );
@@ -335,7 +335,7 @@ public function testCreateViewFlatPreferredChoiceGroupsSameOrder()
335
335
[$ this ->obj4 , $ this ->obj2 , $ this ->obj1 , $ this ->obj3 ],
336
336
null , // label
337
337
null , // index
338
- [ $ this , ' getGroup ' ]
338
+ $ this -> getGroup (...)
339
339
);
340
340
341
341
$ preferredLabels = array_map (static function (ChoiceGroupView $ groupView ): array {
@@ -380,7 +380,7 @@ public function testCreateViewFlatPreferredChoicesAsCallable()
380
380
{
381
381
$ view = $ this ->factory ->createView (
382
382
$ this ->list ,
383
- [ $ this , ' isPreferred ' ]
383
+ $ this -> isPreferred (...)
384
384
);
385
385
386
386
$ this ->assertFlatView ($ view );
@@ -430,7 +430,7 @@ public function testCreateViewFlatLabelAsCallable()
430
430
$ view = $ this ->factory ->createView (
431
431
$ this ->list ,
432
432
[$ this ->obj2 , $ this ->obj3 ],
433
- [ $ this , ' getLabel ' ]
433
+ $ this -> getLabel (...)
434
434
);
435
435
436
436
$ this ->assertFlatView ($ view );
@@ -486,7 +486,7 @@ public function testCreateViewFlatIndexAsCallable()
486
486
$ this ->list ,
487
487
[$ this ->obj2 , $ this ->obj3 ],
488
488
null , // label
489
- [ $ this , ' getFormIndex ' ]
489
+ $ this -> getFormIndex (...)
490
490
);
491
491
492
492
$ this ->assertFlatViewWithCustomIndices ($ view );
@@ -580,7 +580,7 @@ public function testCreateViewFlatGroupByAsCallable()
580
580
[$ this ->obj2 , $ this ->obj3 ],
581
581
null , // label
582
582
null , // index
583
- [ $ this , ' getGroup ' ]
583
+ $ this -> getGroup (...)
584
584
);
585
585
586
586
$ this ->assertGroupedView ($ view );
@@ -593,7 +593,7 @@ public function testCreateViewFlatGroupByAsCallableReturnsArray()
593
593
[],
594
594
null , // label
595
595
null , // index
596
- [ $ this , ' getGroupArray ' ]
596
+ $ this -> getGroupArray (...)
597
597
);
598
598
599
599
$ this ->assertGroupedViewWithChoiceDuplication ($ view );
@@ -606,7 +606,7 @@ public function testCreateViewFlatGroupByObjectThatCanBeCastToString()
606
606
[$ this ->obj2 , $ this ->obj3 ],
607
607
null , // label
608
608
null , // index
609
- [ $ this , ' getGroupAsObject ' ]
609
+ $ this -> getGroupAsObject (...)
610
610
);
611
611
612
612
$ this ->assertGroupedView ($ view );
@@ -699,7 +699,7 @@ public function testCreateViewFlatAttrAsCallable()
699
699
null , // label
700
700
null , // index
701
701
null , // group
702
- [ $ this , ' getAttr ' ]
702
+ $ this -> getAttr (...)
703
703
);
704
704
705
705
$ this ->assertFlatViewWithAttr ($ view );
@@ -837,7 +837,7 @@ public function testCreateViewFlatlabelTranslationParametersAsCallable()
837
837
null , // index
838
838
null , // group
839
839
null , // attr
840
- [ $ this , ' getlabelTranslationParameters ' ]
840
+ $ this -> getlabelTranslationParameters (...)
841
841
);
842
842
843
843
$ this ->assertFlatViewWithlabelTranslationParameters ($ view );
0 commit comments