Passed
Pull Request — master (#5)
by Alex
12:40
created
src/Factory/Configuration/ConfigurationFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
src/Factory/Mapping/Driver/AnnotationDriverFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
src/Factory/Mapping/Driver/MappingDriverChainFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
src/Factory/DataFixture/OrmExecutorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Factory/Console/Helper/ConnectionHelperFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.