We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3419e37 + f2591fd commit cded64eCopy full SHA for cded64e
Tests/Fixtures/AttributeFixtures/ExtendedRoute.php
@@ -7,7 +7,7 @@
7
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
8
class ExtendedRoute extends Route
9
{
10
- 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 = [])
11
12
parent::__construct("/{section<(foo|bar|baz)>}" . $path, $name, [], [], array_merge(['section' => 'foo'], $defaults));
13
}
0 commit comments