We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -317,12 +317,12 @@ discard block |
||
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | if (!empty($c->interfaces)) { |
| 320 | - $items = array_map(fn ($type) => "$this->gqlServices->getType('$type')", $c->interfaces); |
|
| 320 | + $items = array_map(fn($type) => "$this->gqlServices->getType('$type')", $c->interfaces); |
|
| 321 | 321 | $configLoader->addItem('interfaces', ArrowFunction::new(Collection::numeric($items, true))); |
| 322 | 322 | } |
| 323 | 323 | |
| 324 | 324 | if (!empty($c->types)) { |
| 325 | - $items = array_map(fn ($type) => "$this->gqlServices->getType('$type')", $c->types); |
|
| 325 | + $items = array_map(fn($type) => "$this->gqlServices->getType('$type')", $c->types); |
|
| 326 | 326 | $configLoader->addItem('types', ArrowFunction::new(Collection::numeric($items, true))); |
| 327 | 327 | } |
| 328 | 328 | |
@@ -621,7 +621,7 @@ discard block |
||
| 621 | 621 | } else { |
| 622 | 622 | // Symfony constraint |
| 623 | 623 | $fqcn = static::CONSTRAINTS_NAMESPACE."\\$name"; |
| 624 | - $this->file->addUse(static::CONSTRAINTS_NAMESPACE . ' as SymfonyConstraints'); |
|
| 624 | + $this->file->addUse(static::CONSTRAINTS_NAMESPACE.' as SymfonyConstraints'); |
|
| 625 | 625 | $instance = Instance::new("@SymfonyConstraints\\$name"); |
| 626 | 626 | } |
| 627 | 627 | |