@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | protected function store(iterable $handlers): void |
145 | 145 | { |
146 | 146 | /** @noinspection PhpParamsInspection */ |
147 | - $this->handlers = array_map(function ($h) { |
|
147 | + $this->handlers = array_map(function($h) { |
|
148 | 148 | return $this->validate($h); |
149 | 149 | }, is_array($handlers) ? $handlers : iterator_to_array($handlers, false)); |
150 | 150 | } |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | */ |
177 | 177 | protected function update(): void |
178 | 178 | { |
179 | - usort($this->handlers, static function ($a, $b) { |
|
179 | + usort($this->handlers, static function($a, $b) { |
|
180 | 180 | $ap = $a instanceof PrioritizedHandlerInterface ? $a->getHandlerPriority() : 0; |
181 | 181 | $bp = $b instanceof PrioritizedHandlerInterface ? $b->getHandlerPriority() : 0; |
182 | 182 | if ($ap > $bp) { |