Passed
Push — develop ( 0abfcd...2e270b )
by Mathieu
02:21
created
src/Reader/AnnotationReaderTrait.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
      * @return object|AnnotationInterface|null
46 46
      */
47 47
     protected function getClassAnnotation(
48
-      ReflectionClass $class,
49
-      string $annotation
48
+        ReflectionClass $class,
49
+        string $annotation
50 50
     ): ?object {
51 51
         return $this->annotationReader->getClassAnnotation($class, $annotation);
52 52
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * @return array<object|AnnotationInterface>
72 72
      */
73 73
     protected function getPropertyAnnotations(
74
-      ReflectionProperty $property
74
+        ReflectionProperty $property
75 75
     ): array {
76 76
         return $this->annotationReader->getPropertyAnnotations($property);
77 77
     }
@@ -85,12 +85,12 @@  discard block
 block discarded – undo
85 85
      * @return object|AnnotationInterface|null
86 86
      */
87 87
     protected function getMethodAnnotation(
88
-      ReflectionMethod $method,
89
-      string $annotation
88
+        ReflectionMethod $method,
89
+        string $annotation
90 90
     ): ?object {
91 91
         return $this->annotationReader->getMethodAnnotation(
92
-          $method,
93
-          $annotation
92
+            $method,
93
+            $annotation
94 94
         );
95 95
     }
96 96
 
Please login to merge, or discard this patch.
src/DependencyInjection/Compiler/AccessCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
             }
95 95
 
96 96
             $roles[$annotation->role] = array_map(
97
-                function (string $permission) use ($prefix) {
97
+                function(string $permission) use ($prefix) {
98 98
                     return $prefix . strtoupper($permission);
99 99
                 },
100 100
                 $annotation->permissions
Please login to merge, or discard this patch.
src/Reader/DatagridReader.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
         foreach ($properties as $property) {
101 101
             $datagridMapper->add(
102
-                   $property['name'],
102
+                    $property['name'],
103 103
                 ...$property['annotation']->getSettings()
104 104
             );
105 105
         }
Please login to merge, or discard this patch.