Skip to content

Commit b10db98

Browse files
Merge branch '3.2'
* 3.2: [Yaml] CS [DI] Fix PhpDumper generated doc block #20411 fix Yaml parsing for very long quoted strings [Workflow] add Phpdoc for better IDE support fix package name in conflict rule improve message when workflows are missing [Doctrine Bridge] fix priority for doctrine event listeners Use PHP functions as array_map callbacks when possible [Validator] revert wrong Phpdoc change Use proper line endings
2 parents a7649b9 + 41626ad commit b10db98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FinderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function testGetIterator()
312312

313313
$finder = $this->buildFinder();
314314
$a = iterator_to_array($finder->directories()->in(self::$tmpDir));
315-
$a = array_values(array_map(function ($a) { return (string) $a; }, $a));
315+
$a = array_values(array_map('strval', $a));
316316
sort($a);
317317
$this->assertEquals($expected, $a, 'implements the \IteratorAggregate interface');
318318
}

0 commit comments

Comments
 (0)