@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * For disabled hydrator cache, store only last hydrator result and reuse for consecutive calls |
| 44 | 44 | * then drop the cache if it doesn't hit. |
| 45 | 45 | */ |
| 46 | - if (! $this->config->getUseHydratorCache()) { |
|
| 46 | + if (!$this->config->getUseHydratorCache()) { |
|
| 47 | 47 | if (isset($this->extractValues[$splObjectHash])) { |
| 48 | 48 | return $this->extractValues[$splObjectHash][$info->fieldName] ?? null; |
| 49 | 49 | } |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | { |
| 13 | 13 | public function __construct( |
| 14 | 14 | protected AbstractContainer $container, |
| 15 | - protected array|null $metadataConfig, |
|
| 15 | + protected array | null $metadataConfig, |
|
| 16 | 16 | ) { |
| 17 | 17 | } |
| 18 | 18 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | return parent::get($id); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - if (! isset($this->metadataConfig[$id])) { |
|
| 31 | + if (!isset($this->metadataConfig[$id])) { |
|
| 32 | 32 | throw new Error( |
| 33 | 33 | 'Entity ' . $id . ' is not mapped in the metadata', |
| 34 | 34 | ); |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | return $this->build(Entity::class, $id, $this->metadataConfig[$id]); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - public function getMetadataConfig(): array|null |
|
| 40 | + public function getMetadataConfig(): array | null |
|
| 41 | 41 | { |
| 42 | 42 | return $this->metadataConfig; |
| 43 | 43 | } |