Completed
Pull Request — master (#4143)
by Craig
04:53
created
PermissionsModule/Listener/ControllerPermAnnotationReaderListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
         if (!$this->hasFlag($segment)) {
140 140
             return $segment;
141 141
         }
142
-        if (1 !== preg_match('/\$([^:\n]+)/' , $segment, $matches)) {
142
+        if (1 !== preg_match('/\$([^:\n]+)/', $segment, $matches)) {
143 143
             throw new AnnotationException('Invalid schema in @Annotation: @PermissionCheck(). Could not match route attributes');
144 144
         }
145 145
 
Please login to merge, or discard this patch.