@@ -67,14 +67,14 @@ |
||
| 67 | 67 | /** @var object|null */ |
| 68 | 68 | private $entityDataCacheSource; |
| 69 | 69 | |
| 70 | - private Closure|null $entityManagerLoader = null; |
|
| 70 | + private Closure | null $entityManagerLoader = null; |
|
| 71 | 71 | |
| 72 | 72 | public function __construct(MappingDriverInterface $mappingDriver) |
| 73 | 73 | { |
| 74 | 74 | $this->mappingDriver = $mappingDriver; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | - public function boot(EntityManagerInterface|Closure $entityManager): void |
|
| 77 | + public function boot(EntityManagerInterface | Closure $entityManager): void |
|
| 78 | 78 | { |
| 79 | 79 | if ($entityManager instanceof EntityManagerInterface) { |
| 80 | 80 | /** @var ClassMetadataFactory $metadataFactory */ |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | $this->serviceId = $serviceId; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function boot(EntityManagerInterface|Closure $entityManager): void |
|
| 44 | + public function boot(EntityManagerInterface | Closure $entityManager): void |
|
| 45 | 45 | { |
| 46 | 46 | $this->loadDataLoader()->boot($entityManager); |
| 47 | 47 | } |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | $this->mappingDriver = $mappingDriver; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - public function boot(EntityManagerInterface|Closure $entityManager): void |
|
| 60 | + public function boot(EntityManagerInterface | Closure $entityManager): void |
|
| 61 | 61 | { |
| 62 | 62 | } |
| 63 | 63 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | interface DataLoaderInterface |
| 18 | 18 | { |
| 19 | 19 | /** To be called at the start of the process */ |
| 20 | - public function boot(EntityManagerInterface|Closure $entityManager): void; |
|
| 20 | + public function boot(EntityManagerInterface | Closure $entityManager): void; |
|
| 21 | 21 | |
| 22 | 22 | /** @return array<string, string> */ |
| 23 | 23 | public function loadDBALDataForEntity($entity, EntityManagerInterface $entityManager): array; |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | array $serviceIdMap, |
| 38 | 38 | string $choosingParameterName, |
| 39 | 39 | string $defaultServiceId, |
| 40 | - private string|null $entityManagerServiceId = null |
|
| 40 | + private string | null $entityManagerServiceId = null |
|
| 41 | 41 | ) { |
| 42 | 42 | if ($container->hasParameter($choosingParameterName)) { |
| 43 | 43 | /** @var string $determinator */ |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | class AddiksRDMBundle extends Bundle |
| 15 | 15 | { |
| 16 | - private static ClassLoader|null $classLoader = null; |
|
| 16 | + private static ClassLoader | null $classLoader = null; |
|
| 17 | 17 | |
| 18 | 18 | public function boot() |
| 19 | 19 | { |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | $container->addCompilerPass(new RDMCompilerPass()); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public static function classLoader(): ClassLoader|null |
|
| 27 | + public static function classLoader(): ClassLoader | null |
|
| 28 | 28 | { |
| 29 | 29 | return self::$classLoader; |
| 30 | 30 | } |