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.
1 parent b6b1747 commit 7add5c1Copy full SHA for 7add5c1
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