Completed
Pull Request — 8.3 (#47)
by David
19:33 queued 18:04
created
src/Mouf/Mvc/Splash/Routers/PhpVarsCheckRouter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     /**
69 69
      * Returns the number of bytes from php.ini parameter.
70 70
      *
71
-     * @param $val
71
+     * @param string $val
72 72
      *
73 73
      * @return int|string
74 74
      */
Please login to merge, or discard this 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/Services/SplashCreateControllerService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -441,6 +441,9 @@
 block discarded – undo
441 441
         return '<p>Hello {{message}}</p>';
442 442
     }
443 443
 
444
+    /**
445
+     * @param string $controllerFQCN
446
+     */
444 447
     private function generatePhpView($controllerFQCN)
445 448
     {
446 449
         return '<?php /* @var $this '.$controllerFQCN.' */ ?>
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.