@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | public function process(array $annotations, LinkType $link, array &$bodyList): void |
| 55 | 55 | { |
| 56 | 56 | foreach ($annotations as $annotation) { |
| 57 | - if (! $annotation instanceof Link || $annotation->crawl !== $link->key) { |
|
| 57 | + if (!$annotation instanceof Link || $annotation->crawl !== $link->key) { |
|
| 58 | 58 | continue; |
| 59 | 59 | } |
| 60 | 60 | |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | private function extractEqualsFormatKeys(string $template): array |
| 153 | 153 | { |
| 154 | 154 | $queryString = parse_url($template, PHP_URL_QUERY); |
| 155 | - if (! is_string($queryString) || ! str_contains($queryString, '=')) { |
|
| 155 | + if (!is_string($queryString) || !str_contains($queryString, '=')) { |
|
| 156 | 156 | return []; |
| 157 | 157 | } |
| 158 | 158 | |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | $keys = []; |
| 162 | 162 | /** @psalm-suppress MixedAssignment */ |
| 163 | 163 | foreach ($params as $name => $value) { |
| 164 | - if (! str_starts_with((string) $value, '{')) { |
|
| 164 | + if (!str_starts_with((string) $value, '{')) { |
|
| 165 | 165 | continue; |
| 166 | 166 | } |
| 167 | 167 | |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | { |
| 200 | 200 | $parts = []; |
| 201 | 201 | foreach ($keys as $key) { |
| 202 | - if (! array_key_exists($key, $row)) { |
|
| 202 | + if (!array_key_exists($key, $row)) { |
|
| 203 | 203 | throw new RowMustContainKeyInDataLoaderException($key); |
| 204 | 204 | } |
| 205 | 205 | |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | */ |
| 233 | 233 | private function getDataLoader(string $class): DataLoaderInterface |
| 234 | 234 | { |
| 235 | - if (! isset($this->cache[$class])) { |
|
| 235 | + if (!isset($this->cache[$class])) { |
|
| 236 | 236 | $instance = $this->injector->getInstance($class); |
| 237 | 237 | assert($instance instanceof DataLoaderInterface); |
| 238 | 238 | $this->cache[$class] = $instance; |