Skip to content

Commit 6c91640

Browse files
cs fix
1 parent e36d076 commit 6c91640

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/DependencyInjection/Attribute/Autoconfigure.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public function __construct(
2323
public ?array $tags = null,
2424
public ?array $calls = null,
2525
public ?array $bind = null,
26-
public bool|string $lazy = null,
26+
public bool|string|null $lazy = null,
2727
public ?bool $public = null,
2828
public ?bool $shared = null,
2929
public ?bool $autowire = null,
3030
public ?array $properties = null,
31-
public array|string $configurator = null,
31+
public array|string|null $configurator = null,
3232
) {
3333
}
3434
}

src/Symfony/Component/PropertyInfo/Type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function __construct(string $builtinType, bool $nullable = false, string
8080
$this->collectionValueType = $this->validateCollectionArgument($collectionValueType, 6, '$collectionValueType') ?? [];
8181
}
8282

83-
private function validateCollectionArgument(array|Type $collectionArgument, int $argumentIndex, string $argumentName): ?array
83+
private function validateCollectionArgument(array|Type|null $collectionArgument, int $argumentIndex, string $argumentName): ?array
8484
{
8585
if (null === $collectionArgument) {
8686
return null;

0 commit comments

Comments
 (0)