Passed
Push — master ( 5588e2...9d337e )
by Olivier
10:12
created
lib/Symfony/MessageBusPassWithAttributes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
             $message = self::resolveMessage($handler);
63 63
 
64 64
             $definition = new Definition($handler);
65
-            $definition->addTag($this->tagForHandler, [ $this->attributeForMessage => $message ]);
65
+            $definition->addTag($this->tagForHandler, [$this->attributeForMessage => $message]);
66 66
 
67 67
             foreach ($permissions[$message] ?? [] as $permission) {
68
-                $definition->addTag($this->tagForPermission, [ $this->attributeForPermission => $permission ]);
68
+                $definition->addTag($this->tagForPermission, [$this->attributeForPermission => $permission]);
69 69
             }
70 70
 
71 71
             $definitions[$handler] = $definition;
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $permission = $targetClass->attribute->permission;
77 77
 
78 78
             $definition = new Definition($voter);
79
-            $definition->addTag($this->tagForVoter, [ $this->attributeForPermission => $permission ]);
79
+            $definition->addTag($this->tagForVoter, [$this->attributeForPermission => $permission]);
80 80
 
81 81
             $definitions[$voter] = $definition;
82 82
         }
Please login to merge, or discard this patch.