Skip to content

Commit c00d840

Browse files
committed
Debug sortOrder
1 parent 6a8b016 commit c00d840

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Util/Block/ChildRenderer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public function html(
8383
private function sortBlocks(array $blocks): array
8484
{
8585
usort($blocks, function (AbstractBlock $blockA, AbstractBlock $blockB) {
86-
return (int)$blockA->getSortOrder() <=>
87-
(int)$blockB->getSortOrder();
86+
return (int)$blockA->getSortOrder() <=> (int)$blockB->getSortOrder();
8887
});
8988

9089
return $blocks;

0 commit comments

Comments
 (0)