@@ -34,7 +34,7 @@ |
||
| 34 | 34 | // the name property changes for ListAssociationField |
| 35 | 35 | $name = $property->getName(); |
| 36 | 36 | if ($annotation instanceof ListAssociationField) { |
| 37 | - $name .= '.'.$annotation->getField(); |
|
| 37 | + $name .= '.' . $annotation->getField(); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | if (!$annotation->hasPosition()) { |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | // the name property changes for ShowAssociationField |
| 34 | 34 | $name = $property->getName(); |
| 35 | 35 | if ($annotation instanceof ShowAssociationField) { |
| 36 | - $name .= '.'.$annotation->getField(); |
|
| 36 | + $name .= '.' . $annotation->getField(); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | if (!$annotation->hasPosition()) { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | // the name property changes for DatagridAssociationField |
| 30 | 30 | $name = $property->getName(); |
| 31 | 31 | if ($annotation instanceof DatagridAssociationField) { |
| 32 | - $name .= '.'.$annotation->getField(); |
|
| 32 | + $name .= '.' . $annotation->getField(); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | if (!$annotation->hasPosition()) { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $config['directory'] ?? $container->getParameter('kernel.project_dir') . '/src/' |
| 25 | 25 | ); |
| 26 | 26 | |
| 27 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 27 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 28 | 28 | $loader->load('reader.xml'); |
| 29 | 29 | } |
| 30 | 30 | } |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | $roles[$annotation->getRole()] = array_map( |
| 57 | - function (string $permission) use ($prefix) { |
|
| 57 | + function(string $permission) use ($prefix) { |
|
| 58 | 58 | return $prefix . strtoupper($permission); |
| 59 | 59 | }, |
| 60 | 60 | $annotation->permissions |