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

Commit

Permalink
#44 — Make container not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefersson Nathan committed Apr 25, 2017
1 parent e6214e3 commit cce97c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Router
* @param RouteCollection $collection
* @param ContainerInterface $container
*/
public function __construct(RouteCollection $collection, ContainerInterface $container)
public function __construct(RouteCollection $collection, ContainerInterface $container = null)
{
$this->routes = $collection;

Expand Down

0 comments on commit cce97c2

Please sign in to comment.