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 7db4b9c + 7add5c1 commit 3419e37Copy full SHA for 3419e37
Tests/Fixtures/TraceableAttributeClassLoader.php
@@ -20,7 +20,7 @@ final class TraceableAttributeClassLoader extends AttributeClassLoader
20
/** @var list<string> */
21
public array $foundClasses = [];
22
23
- public function load(mixed $class, string $type = null): RouteCollection
+ public function load(mixed $class, ?string $type = null): RouteCollection
24
{
25
if (!is_string($class)) {
26
throw new \InvalidArgumentException(sprintf('Expected string, got "%s"', get_debug_type($class)));
0 commit comments