@@ -17,9 +17,9 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct( |
| 19 | 19 | protected string $group = 'default', |
| 20 | - protected string|null $strategy = null, |
|
| 21 | - protected string|null $description = null, |
|
| 22 | - protected string|null $type = null, |
|
| 20 | + protected string | null $strategy = null, |
|
| 21 | + protected string | null $description = null, |
|
| 22 | + protected string | null $type = null, |
|
| 23 | 23 | private array $excludeCriteria = [], |
| 24 | 24 | private array $includeCriteria = [], |
| 25 | 25 | ) { |
@@ -30,17 +30,17 @@ discard block |
||
| 30 | 30 | return $this->group; |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - public function getStrategy(): string|null |
|
| 33 | + public function getStrategy(): string | null |
|
| 34 | 34 | { |
| 35 | 35 | return $this->strategy; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - public function getDescription(): string|null |
|
| 38 | + public function getDescription(): string | null |
|
| 39 | 39 | { |
| 40 | 40 | return $this->description; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function getType(): string|null |
|
| 43 | + public function getType(): string | null |
|
| 44 | 44 | { |
| 45 | 45 | return $this->type; |
| 46 | 46 | } |
@@ -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 | } |