@@ -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 |
@@ -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 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
25 | 25 | use Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; |
26 | 26 | |
27 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
27 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
28 | 28 | // Use "service" function for creating references to services when dropping support for Symfony 4.4 |
29 | 29 | // Use "param" function for creating references to parameters when dropping support for Symfony 5.1 |
30 | 30 | $containerConfigurator->services() |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $config['directory'] ?? $container->getParameter('kernel.project_dir') . '/src/' |
25 | 25 | ); |
26 | 26 | |
27 | - $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
27 | + $loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
28 | 28 | $loader->load('reader.php'); |
29 | 29 | } |
30 | 30 | } |