@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | */ |
| 128 | 128 | private function getMappingDriver( |
| 129 | 129 | ServiceLocatorInterface $container, |
| 130 | - string|array|MappingDriver $driver, |
|
| 130 | + string | array | MappingDriver $driver, |
|
| 131 | 131 | string $serviceName |
| 132 | 132 | ): MappingDriver { |
| 133 | 133 | if (is_string($driver)) { |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | */ |
| 170 | 170 | private function getCache( |
| 171 | 171 | ServiceLocatorInterface $container, |
| 172 | - string|array|CacheItemPoolInterface $cache, |
|
| 172 | + string | array | CacheItemPoolInterface $cache, |
|
| 173 | 173 | string $serviceName |
| 174 | 174 | ): CacheItemPoolInterface { |
| 175 | 175 | if (is_string($cache)) { |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | */ |
| 210 | 210 | private function getRepositoryFactory( |
| 211 | 211 | ContainerInterface $container, |
| 212 | - string|RepositoryFactory $factory, |
|
| 212 | + string | RepositoryFactory $factory, |
|
| 213 | 213 | string $serviceName |
| 214 | 214 | ): RepositoryFactory { |
| 215 | 215 | if (is_string($factory)) { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * @throws ServiceNotFoundException |
| 67 | 67 | * @throws ContainerExceptionInterface |
| 68 | 68 | */ |
| 69 | - private function getReader(ContainerInterface $container, string|Reader $reader, string $serviceName): Reader |
|
| 69 | + private function getReader(ContainerInterface $container, string | Reader $reader, string $serviceName): Reader |
|
| 70 | 70 | { |
| 71 | 71 | if (is_string($reader)) { |
| 72 | 72 | $reader = $this->getService($container, $reader, $serviceName); |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | private function getCache( |
| 95 | 95 | ContainerInterface $container, |
| 96 | - string|CacheItemPoolInterface $cache, |
|
| 96 | + string | CacheItemPoolInterface $cache, |
|
| 97 | 97 | string $serviceName |
| 98 | 98 | ): CacheItemPoolInterface { |
| 99 | 99 | if (is_string($cache)) { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | private function createDriver( |
| 54 | 54 | ServiceLocatorInterface $container, |
| 55 | - MappingDriver|string|array $driver, |
|
| 55 | + MappingDriver | string | array $driver, |
|
| 56 | 56 | string $serviceName |
| 57 | 57 | ): MappingDriver { |
| 58 | 58 | if (is_string($driver)) { |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | */ |
| 72 | 72 | private function getPurger( |
| 73 | 73 | ContainerInterface $container, |
| 74 | - ORMPurger|string|null $purger, |
|
| 74 | + ORMPurger | string | null $purger, |
|
| 75 | 75 | string $serviceName |
| 76 | 76 | ): ?ORMPurger { |
| 77 | 77 | if (null === $purger) { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | * |
| 71 | 71 | * @throws ServiceNotCreatedException |
| 72 | 72 | */ |
| 73 | - private function resolveConnection(ContainerInterface $container, string $serviceName): Connection|string|null |
|
| 73 | + private function resolveConnection(ContainerInterface $container, string $serviceName): Connection | string | null |
|
| 74 | 74 | { |
| 75 | 75 | try { |
| 76 | 76 | $arguments = new ArgvInput(); |