Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit cce97c2

Browse files
author
Jefersson Nathan
committed
#44 — Make container not mandatory
1 parent e6214e3 commit cce97c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Router
5858
* @param RouteCollection $collection
5959
* @param ContainerInterface $container
6060
*/
61-
public function __construct(RouteCollection $collection, ContainerInterface $container)
61+
public function __construct(RouteCollection $collection, ContainerInterface $container = null)
6262
{
6363
$this->routes = $collection;
6464

0 commit comments

Comments
 (0)