We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | public array $hooks = []; |
10 | 10 | private array $executedHooks = []; |
11 | 11 | |
12 | - public function hookInto(string|array $hooks, callable $callback): void |
|
12 | + public function hookInto(string | array $hooks, callable $callback): void |
|
13 | 13 | { |
14 | 14 | $hooks = is_array($hooks) ? $hooks : [$hooks]; |
15 | 15 | $controller = CrudManager::getActiveController() ?? CrudManager::getParentController(); |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | } |
19 | 19 | } |
20 | 20 | |
21 | - public function trigger(string|array $hooks, array $parameters = []): void |
|
21 | + public function trigger(string | array $hooks, array $parameters = []): void |
|
22 | 22 | { |
23 | 23 | $hooks = is_array($hooks) ? $hooks : [$hooks]; |
24 | 24 | $controller = CrudManager::getActiveController() ?? CrudManager::getParentController(); |