Skip to content

Commit fd65393

Browse files
committed
CSFix
1 parent fa943b7 commit fd65393

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

tests/MapIteratorTest.php

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)