@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * Be warned, using the same groupSuffix with two different |
| 25 | 25 | * groups can cause collisions. |
| 26 | 26 | */ |
| 27 | - protected string|null $groupSuffix = null; |
|
| 27 | + protected string | null $groupSuffix = null; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @var bool When set to true hydrator results will be cached for the |
@@ -52,14 +52,14 @@ discard block |
||
| 52 | 52 | * all hydrators will extract by reference. This overrides |
| 53 | 53 | * per-entity attribute configuration. |
| 54 | 54 | */ |
| 55 | - protected bool|null $globalByValue = null; |
|
| 55 | + protected bool | null $globalByValue = null; |
|
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * @var string|null When set, the entityPrefix will be removed from each |
| 59 | 59 | * type name. This simplifies type names and makes reading |
| 60 | 60 | * the GraphQL documentation easier. |
| 61 | 61 | */ |
| 62 | - protected string|null $entityPrefix = null; |
|
| 62 | + protected string | null $entityPrefix = null; |
|
| 63 | 63 | |
| 64 | 64 | /** @param mixed[] $config */ |
| 65 | 65 | public function __construct(array $config = []) |
@@ -86,14 +86,14 @@ discard block |
||
| 86 | 86 | return $this->group; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | - protected function setGroupSuffix(string|null $groupSuffix): self |
|
| 89 | + protected function setGroupSuffix(string | null $groupSuffix): self |
|
| 90 | 90 | { |
| 91 | 91 | $this->groupSuffix = $groupSuffix; |
| 92 | 92 | |
| 93 | 93 | return $this; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - public function getGroupSuffix(): string|null |
|
| 96 | + public function getGroupSuffix(): string | null |
|
| 97 | 97 | { |
| 98 | 98 | return $this->groupSuffix; |
| 99 | 99 | } |
@@ -148,26 +148,26 @@ discard block |
||
| 148 | 148 | return $this->globalIgnore; |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | - protected function setGlobalByValue(bool|null $globalByValue): self |
|
| 151 | + protected function setGlobalByValue(bool | null $globalByValue): self |
|
| 152 | 152 | { |
| 153 | 153 | $this->globalByValue = $globalByValue; |
| 154 | 154 | |
| 155 | 155 | return $this; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | - public function getGlobalByValue(): bool|null |
|
| 158 | + public function getGlobalByValue(): bool | null |
|
| 159 | 159 | { |
| 160 | 160 | return $this->globalByValue; |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | - protected function setEntityPrefix(string|null $entityPrefix): self |
|
| 163 | + protected function setEntityPrefix(string | null $entityPrefix): self |
|
| 164 | 164 | { |
| 165 | 165 | $this->entityPrefix = $entityPrefix; |
| 166 | 166 | |
| 167 | 167 | return $this; |
| 168 | 168 | } |
| 169 | 169 | |
| 170 | - public function getEntityPrefix(): string|null |
|
| 170 | + public function getEntityPrefix(): string | null |
|
| 171 | 171 | { |
| 172 | 172 | return $this->entityPrefix; |
| 173 | 173 | } |