Passed
Push — master ( c70b29...29d6d3 )
by Alexander
16:35 queued 05:52
created
Category
lib/HandlersList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.