Skip to content

Commit e731b36

Browse files
committed
Fix for a deprecated parameter:
"Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead"
1 parent 4439d24 commit e731b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Routing/Router.php

+1-1
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)
2828
{
2929
$this->container = $container ?: new Container;
3030

0 commit comments

Comments
 (0)