Hook order class method split
1 unresolved thread
1 unresolved thread
Compare changes
Conflict: This file was modified in the source branch, but removed in the target branch.
Ask someone with write access to resolve it.
+ 33
− 21
@@ -18,13 +18,15 @@ class HookOrder {
@@ -34,13 +36,15 @@ public static function first(ContainerBuilder $container, string $hook, string $
@@ -54,17 +58,18 @@ public static function last(ContainerBuilder $container, string $hook, string $c
@@ -78,17 +83,18 @@ public static function before(ContainerBuilder $container, string $hook, string
@@ -105,13 +111,19 @@ public static function after(ContainerBuilder $container, string $hook, string $
I think there should be some sort of check that
$others[$i + 1]
exists, or that$others
has an even number of items. So if one part of a class/method expected pair is missing, maybe throw an Exception?