@@ -14,8 +14,6 @@ |
||
| 14 | 14 | use Ds\Router\Interfaces\RouteInterface; |
| 15 | 15 | use Ds\Router\Interfaces\SerializerInterface; |
| 16 | 16 | use Ds\Router\RouterResponse; |
| 17 | - |
|
| 18 | - |
|
| 19 | 17 | use Symfony\Component\Routing\Matcher\UrlMatcher; |
| 20 | 18 | use Symfony\Component\Routing\RequestContext; |
| 21 | 19 | use Symfony\Component\Routing\RouteCollection; |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | public function getSymfonyRouteCollection(RouteCollectionInterface $routes) |
| 87 | 87 | { |
| 88 | 88 | |
| 89 | - if (!$this->options['cacheDisabled'] && file_exists($this->options['cacheFile'])){ |
|
| 89 | + if (!$this->options['cacheDisabled'] && file_exists($this->options['cacheFile'])) { |
|
| 90 | 90 | //get cached route collection. |
| 91 | 91 | } |
| 92 | 92 | |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | array('month' => '[0-9]{4}-[0-9]{2}'), // requirements |
| 100 | 100 | array(), // options |
| 101 | 101 | '', // host |
| 102 | - array('https','https'), // schemes |
|
| 102 | + array('https', 'https'), // schemes |
|
| 103 | 103 | array('GET') // methods |
| 104 | 104 | ); |
| 105 | 105 | |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Ds\Router\Interfaces\RouteInterface; |
| 15 | 15 | use Ds\Router\Interfaces\SerializerInterface; |
| 16 | 16 | use Ds\Router\RouterResponse; |
| 17 | - |
|
| 18 | 17 | use Symfony\Component\Routing\Matcher\UrlMatcher; |
| 19 | 18 | use Symfony\Component\Routing\RequestContext; |
| 20 | 19 | use Symfony\Component\Routing\Route; |