@@ -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,20 +52,20 @@ 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 | /** |
| 65 | 65 | * @var bool|null When set to true entity fields will be |
| 66 | 66 | * sorted alphabetically |
| 67 | 67 | */ |
| 68 | - protected bool|null $sortFields = null; |
|
| 68 | + protected bool | null $sortFields = null; |
|
| 69 | 69 | |
| 70 | 70 | /** @param mixed[] $config */ |
| 71 | 71 | public function __construct(array $config = []) |
@@ -92,14 +92,14 @@ discard block |
||
| 92 | 92 | return $this->group; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - protected function setGroupSuffix(string|null $groupSuffix): self |
|
| 95 | + protected function setGroupSuffix(string | null $groupSuffix): self |
|
| 96 | 96 | { |
| 97 | 97 | $this->groupSuffix = $groupSuffix; |
| 98 | 98 | |
| 99 | 99 | return $this; |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - public function getGroupSuffix(): string|null |
|
| 102 | + public function getGroupSuffix(): string | null |
|
| 103 | 103 | { |
| 104 | 104 | return $this->groupSuffix; |
| 105 | 105 | } |
@@ -154,38 +154,38 @@ discard block |
||
| 154 | 154 | return $this->globalIgnore; |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | - protected function setGlobalByValue(bool|null $globalByValue): self |
|
| 157 | + protected function setGlobalByValue(bool | null $globalByValue): self |
|
| 158 | 158 | { |
| 159 | 159 | $this->globalByValue = $globalByValue; |
| 160 | 160 | |
| 161 | 161 | return $this; |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | - public function getGlobalByValue(): bool|null |
|
| 164 | + public function getGlobalByValue(): bool | null |
|
| 165 | 165 | { |
| 166 | 166 | return $this->globalByValue; |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | - protected function setEntityPrefix(string|null $entityPrefix): self |
|
| 169 | + protected function setEntityPrefix(string | null $entityPrefix): self |
|
| 170 | 170 | { |
| 171 | 171 | $this->entityPrefix = $entityPrefix; |
| 172 | 172 | |
| 173 | 173 | return $this; |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | - public function getEntityPrefix(): string|null |
|
| 176 | + public function getEntityPrefix(): string | null |
|
| 177 | 177 | { |
| 178 | 178 | return $this->entityPrefix; |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | - public function setSortFields(bool|null $sortFields): self |
|
| 181 | + public function setSortFields(bool | null $sortFields): self |
|
| 182 | 182 | { |
| 183 | 183 | $this->sortFields = $sortFields; |
| 184 | 184 | |
| 185 | 185 | return $this; |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | - public function getSortFields(): bool|null |
|
| 188 | + public function getSortFields(): bool | null |
|
| 189 | 189 | { |
| 190 | 190 | return $this->sortFields; |
| 191 | 191 | } |