Completed
Pull Request — 8.3 (#47)
by David
02:19
created
src/Mouf/Mvc/Splash/Routers/PhpVarsCheckRouter.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
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 :
Please login to merge, or discard this patch.
src/Mouf/Mvc/Splash/Utils/ExceptionUtils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -180,6 +180,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Mouf/Mvc/Splash/Controllers/HttpErrorsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     protected $exception;
73 73
 
74 74
     /**
75
-     * @param TemplateInterface $template     The template used by Splash for displaying error pages (HTTP 400, 404 and 500).
75
+     * @param DefaultSplashTemplate $template     The template used by Splash for displaying error pages (HTTP 400, 404 and 500).
76 76
      * @param HtmlBlock         $contentBlock The content block the template will be written into.
77 77
      * @param bool              $debugMode    Whether we should display exception stacktrace or not in HTTP 500.
78 78
      */
Please login to merge, or discard this patch.