Skip to content

Commit ba6f3ba

Browse files
authored
Fix implicitly nullable parameter declarations in PHP 8.4
See: https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated
1 parent c3827a1 commit ba6f3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routing/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Router
2424
/** @var Container */
2525
protected $container;
2626

27-
public function __construct(Container $container = null)
27+
public function __construct(?Container $container = null)
2828
{
2929
$this->container = $container ?: new Container;
3030

0 commit comments

Comments
 (0)