Skip to content

Commit b1ad894

Browse files
Merge branch '2.7' into 2.8
* 2.7: #20411 fix Yaml parsing for very long quoted strings [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 38c3c78 + 3802117 commit b1ad894

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
@@ -318,7 +318,7 @@ public function testGetIterator()
318318

319319
$finder = $this->buildFinder();
320320
$a = iterator_to_array($finder->directories()->in(self::$tmpDir));
321-
$a = array_values(array_map(function ($a) { return (string) $a; }, $a));
321+
$a = array_values(array_map('strval', $a));
322322
sort($a);
323323
$this->assertEquals($expected, $a, 'implements the \IteratorAggregate interface');
324324
}

0 commit comments

Comments
 (0)