@@ -45,8 +45,8 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -94,7 +94,7 @@ |
||
| 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 |
@@ -99,7 +99,7 @@ |
||
| 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 | } |