Skip to content

Commit

Permalink
Add more explicit nullable types for default null values
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Mar 18, 2024
1 parent 48ae43e commit f455f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Fixtures/RedirectableUrlMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
class RedirectableUrlMatcher extends UrlMatcher implements RedirectableUrlMatcherInterface
{
public function redirect(string $path, string $route, string $scheme = null): array
public function redirect(string $path, string $route, ?string $scheme = null): array
{
return [
'_controller' => 'Some controller reference...',
Expand Down

0 comments on commit f455f06

Please sign in to comment.