Skip to content

Commit f2591fd

Browse files
committed
Fix implicit nullable parameters
1 parent 7add5c1 commit f2591fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Fixtures/AttributeFixtures/ExtendedRoute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
88
class ExtendedRoute extends Route
99
{
10-
public function __construct(array|string $path = null, ?string $name = null, array $defaults = [])
10+
public function __construct(array|string|null $path = null, ?string $name = null, array $defaults = [])
1111
{
1212
parent::__construct("/{section<(foo|bar|baz)>}" . $path, $name, [], [], array_merge(['section' => 'foo'], $defaults));
1313
}

0 commit comments

Comments
 (0)