File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,18 @@ class MapIteratorTest extends TestCase
2929{
3030 public function testIteratorAggregate (): void
3131 {
32- $ mapIterator = new MapIterator (new class implements IteratorAggregate
33- {
34- public $ property1 = "Public property one " ;
35- public $ property2 = "Public property two " ;
36- public $ property3 = "Public property three " ;
32+ $ mapIterator = new MapIterator (new class implements IteratorAggregate {
33+ public $ property1 = "Public property one " ;
34+ public $ property2 = "Public property two " ;
35+ public $ property3 = "Public property three " ;
3736
38- public function getIterator ()
39- {
40- return new ArrayIterator ($ this );
41- }
42- }, function ($ item ) {
43- return $ item ;
44- });
37+ public function getIterator ()
38+ {
39+ return new ArrayIterator ($ this );
40+ }
41+ }, function ($ item ) {
42+ return $ item ;
43+ });
4544
4645 self ::assertCount (3 , $ mapIterator );
4746 }
You can’t perform that action at this time.
0 commit comments