@@ -3,12 +3,10 @@ |
||
| 3 | 3 | namespace Mouf\Mvc\Splash\Routers; |
| 4 | 4 | |
| 5 | 5 | use TheCodingMachine\Splash\Utils\SplashException; |
| 6 | -use Psr\Http\Message\ResponseInterface as Response; |
|
| 7 | 6 | use Psr\Http\Message\ResponseInterface; |
| 8 | 7 | use Psr\Http\Message\ServerRequestInterface as Request; |
| 9 | 8 | use Psr\Http\Server\MiddlewareInterface; |
| 10 | 9 | use Psr\Http\Server\RequestHandlerInterface; |
| 11 | -use Psr\Log\LoggerInterface; |
|
| 12 | 10 | |
| 13 | 11 | /** |
| 14 | 12 | * This router : |
@@ -180,6 +180,9 @@ |
||
| 180 | 180 | return 'Unknown type variable'; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | + /** |
|
| 184 | + * @return string |
|
| 185 | + */ |
|
| 183 | 186 | private static function displayFile($file) |
| 184 | 187 | { |
| 185 | 188 | $realpath = realpath($file); |