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
29
29
{
30
30
public function testIteratorAggregate (): void
31
31
{
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 " ;
37
36
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
+ });
45
44
46
45
self ::assertCount (3 , $ mapIterator );
47
46
}
You can’t perform that action at this time.
0 commit comments