@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | $configuration = $this->configurationFactory->factory($configuration); |
68 | 68 | } |
69 | 69 | |
70 | - if (! $configuration instanceof Configuration) { |
|
70 | + if (!$configuration instanceof Configuration) { |
|
71 | 71 | throw new InvalidArgumentException(sprintf( |
72 | 72 | 'Argument #1 passed to "%s" must be an instance of "%s", "%s" or an array, "%s" given', |
73 | 73 | __METHOD__, |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | $doctrineConfig = $entityManager->getConfiguration(); |
81 | 81 | |
82 | 82 | $driverImplementation = $doctrineConfig->getMetadataDriverImpl(); |
83 | - if (! $driverImplementation instanceof MappingDriverChain) { |
|
83 | + if (!$driverImplementation instanceof MappingDriverChain) { |
|
84 | 84 | throw new RuntimeException(sprintf( |
85 | 85 | 'Driver implementation is no instance of "%s", instance of "%s" given', |
86 | 86 | MappingDriverChain::class, |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | { |
100 | 100 | foreach ($this->mappings as $mappingType => $mappingClassName) { |
101 | 101 | if (isset($fieldConfig[$mappingType])) { |
102 | - if (! ArrayUtils::isList($fieldConfig[$mappingType])) { |
|
102 | + if (!ArrayUtils::isList($fieldConfig[$mappingType])) { |
|
103 | 103 | throw new UnexpectedValueException(sprintf( |
104 | 104 | 'Mapping definition for field "%s" at entity "%s" of mapping type "%s" must be an list', |
105 | 105 | $field->getName(), |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | */ |
189 | 189 | private function getOption(array $config, string $option, bool $required = false) |
190 | 190 | { |
191 | - if (! isset($config[$option])) { |
|
191 | + if (!isset($config[$option])) { |
|
192 | 192 | if ($required) { |
193 | 193 | throw new RuntimeException(sprintf( |
194 | 194 | 'Configuration for field "%s" is required', |