Passed
Push — main ( 229ff9...457aee )
by Olivier
02:03
created
src/MutableListenerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 
78 78
     private function makeRemoveCallback(string $eventType, callable $listener): callable
79 79
     {
80
-        return function () use ($eventType, $listener) {
80
+        return function() use ($eventType, $listener) {
81 81
             $key = array_search($listener, $this->listeners[$eventType], true);
82 82
 
83 83
             if ($key === false) {
Please login to merge, or discard this patch.
src/Symfony/ListenerProviderPass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public function process(ContainerBuilder $container): void
60 60
     {
61 61
         foreach ($this->providerIterator($container) as $id => $listenerTag) {
62
-            [ $mapping, $refMap ] = $this->collectListeners($container, $listenerTag);
62
+            [$mapping, $refMap] = $this->collectListeners($container, $listenerTag);
63 63
 
64 64
             $container
65 65
                 ->getDefinition($id)
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 
216 216
         usort(
217 217
             $ids,
218
-            function (string $a, string $b) use ($positions, $priorities): int {
218
+            function(string $a, string $b) use ($positions, $priorities): int {
219 219
                 $pa = $priorities[$a];
220 220
                 $pb = $priorities[$b];
221 221
 
Please login to merge, or discard this patch.