Skip to content

Commit 08e765d

Browse files
committed
Revert "Fix uksort() callback returning bool deprecation"
This reverts commit f049c42
1 parent f049c42 commit 08e765d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/Processor/InheritanceProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private static function inheritsTypeConfig($child, array $parents, array $config
8585

8686
// Restore initial order
8787
\uksort($parentTypes, function ($a, $b) use ($parents) {
88-
return \array_search($a, $parents, true) > \array_search($b, $parents, true) ? 1 : 0;
88+
return \array_search($a, $parents, true) > \array_search($b, $parents, true);
8989
});
9090

9191
$mergedParentsConfig = self::mergeConfigs(...\array_column($parentTypes, 'config'));

0 commit comments

Comments
 (0)