We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8633c6 commit f2589d9Copy full SHA for f2589d9
Tests/FinderTest.php
@@ -317,7 +317,7 @@ public function testGetIterator()
317
318
$finder = $this->buildFinder();
319
$a = iterator_to_array($finder->directories()->in(self::$tmpDir));
320
- $a = array_values(array_map(function ($a) { return (string) $a; }, $a));
+ $a = array_values(array_map('strval', $a));
321
sort($a);
322
$this->assertEquals($expected, $a, 'implements the \IteratorAggregate interface');
323
}
0 commit comments