Skip to content

Commit 7add5c1

Browse files
committed
stop marking parameters implicitly as nullable
1 parent b6b1747 commit 7add5c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Fixtures/TraceableAttributeClassLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class TraceableAttributeClassLoader extends AttributeClassLoader
2020
/** @var list<string> */
2121
public array $foundClasses = [];
2222

23-
public function load(mixed $class, string $type = null): RouteCollection
23+
public function load(mixed $class, ?string $type = null): RouteCollection
2424
{
2525
if (!is_string($class)) {
2626
throw new \InvalidArgumentException(sprintf('Expected string, got "%s"', get_debug_type($class)));

0 commit comments

Comments
 (0)