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 6a8b016 commit c00d840Copy full SHA for c00d840
1 file changed
Util/Block/ChildRenderer.php
@@ -83,8 +83,7 @@ public function html(
83
private function sortBlocks(array $blocks): array
84
{
85
usort($blocks, function (AbstractBlock $blockA, AbstractBlock $blockB) {
86
- return (int)$blockA->getSortOrder() <=>
87
- (int)$blockB->getSortOrder();
+ return (int)$blockA->getSortOrder() <=> (int)$blockB->getSortOrder();
88
});
89
90
return $blocks;
0 commit comments