@@ -62,10 +62,10 @@ discard block |
||
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 |
||
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 | } |