Skip to content

Commit f455f06

Browse files
Add more explicit nullable types for default null values
1 parent 48ae43e commit f455f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Fixtures/RedirectableUrlMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class RedirectableUrlMatcher extends UrlMatcher implements RedirectableUrlMatcherInterface
2121
{
22-
public function redirect(string $path, string $route, string $scheme = null): array
22+
public function redirect(string $path, string $route, ?string $scheme = null): array
2323
{
2424
return [
2525
'_controller' => 'Some controller reference...',

0 commit comments

Comments
 (0)