Skip to content

Commit

Permalink
Fix implicit nullable parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
KerianMM committed Mar 28, 2024
1 parent 7add5c1 commit f2591fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Fixtures/AttributeFixtures/ExtendedRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
class ExtendedRoute extends Route
{
public function __construct(array|string $path = null, ?string $name = null, array $defaults = [])
public function __construct(array|string|null $path = null, ?string $name = null, array $defaults = [])
{
parent::__construct("/{section<(foo|bar|baz)>}" . $path, $name, [], [], array_merge(['section' => 'foo'], $defaults));
}
Expand Down

0 comments on commit f2591fd

Please sign in to comment.