| @@ -284,7 +284,7 @@ | ||
| 284 | 284 | $this->autowireService($id, $definition->value); | 
| 285 | 285 | } | 
| 286 | 286 | |
| 287 | - $definition = fn () => $this->resolver->resolve($definition->value, $definition->args); | |
| 287 | + $definition = fn() => $this->resolver->resolve($definition->value, $definition->args); | |
| 288 | 288 |          } elseif ($autowire && !$definition instanceof RawDefinition) { | 
| 289 | 289 | $this->autowireService($id, $definition); | 
| 290 | 290 | } | 
| @@ -280,7 +280,7 @@ discard block | ||
| 280 | 280 |              $astNodes[] = new Declare_([new DeclareDeclare('strict_types', $this->builder->val(1))]); | 
| 281 | 281 | } | 
| 282 | 282 | |
| 283 | - $parameters = \array_map(fn ($value) => $this->builder->val($value), $this->parameters); | |
| 283 | + $parameters = \array_map(fn($value) => $this->builder->val($value), $this->parameters); | |
| 284 | 284 | $astNodes[] = $this->doCompile($this->definitions, $parameters, $options['containerClass'])->getNode(); | 
| 285 | 285 | |
| 286 | 286 |          if ($options['printToString']) { | 
| @@ -385,7 +385,7 @@ discard block | ||
| 385 | 385 | continue; | 
| 386 | 386 | } | 
| 387 | 387 | |
| 388 | - $ids = \array_filter($ids, fn (string $id): bool => !$this->ignoredDefinition($definitions[$id] ?? null)); | |
| 388 | + $ids = \array_filter($ids, fn(string $id): bool => !$this->ignoredDefinition($definitions[$id] ?? null)); | |
| 389 | 389 | |
| 390 | 390 | // If $ids are filtered, keys should not be preserved. | 
| 391 | 391 | $ids = \array_values($ids); | 
| @@ -403,7 +403,7 @@ | ||
| 403 | 403 | } | 
| 404 | 404 | |
| 405 | 405 |          if (!empty($types = $this->type)) { | 
| 406 | - $node->setReturnType(\is_array($types) ? new UnionType(\array_map(fn ($type) => new Name($type), $types)) : $types); | |
| 406 | + $node->setReturnType(\is_array($types) ? new UnionType(\array_map(fn($type) => new Name($type), $types)) : $types); | |
| 407 | 407 | } | 
| 408 | 408 | |
| 409 | 409 |          if (!$this->factory) { | 
| @@ -116,7 +116,7 @@ | ||
| 116 | 116 | } | 
| 117 | 117 | |
| 118 | 118 |                  if (!empty($type = $definition->getType())) { | 
| 119 | - $proxyNode->setReturnType(\is_array($type) ? new UnionType(\array_map(fn ($type) => new Name($type), $type)) : $type); | |
| 119 | + $proxyNode->setReturnType(\is_array($type) ? new UnionType(\array_map(fn($type) => new Name($type), $type)) : $type); | |
| 120 | 120 | } | 
| 121 | 121 | } | 
| 122 | 122 | |