Failed Conditions
Push — master ( 14bc7d...3905a2 )
by Arnold
10:19 queued 10s
created
src/Controller/RouteAction.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
      *
15 15
      * @return ResponseInterface
16 16
      */
17
-    public function run() {
17
+    public function run()
18
+    {
18 19
         $request = $this->getRequest();
19 20
         if (!$request) {
20 21
             throw new \RuntimeException("Request object is not set for controller");            
Please login to merge, or discard this patch.
src/Controller.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@
 block discarded – undo
274 274
      * @return ResponseInterface $response
275 275
      */
276 276
     public function error($message, $code = 400)
277
-    {        
277
+    {
278 278
         $response = $this->getResponse();
279 279
 
280 280
         $errorResponse = $response->withStatus($code);
Please login to merge, or discard this patch.
src/View/Twig.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * Add a global variable to the view.
33 33
      * 
34 34
      * @param string $name   Variable name
35
-     * @param mixed  $value
35
+     * @param string  $value
36 36
      * @return $this
37 37
      */
38 38
     public function setViewVariable($name, $value)
@@ -48,7 +48,6 @@  discard block
 block discarded – undo
48 48
      * Expose a function to the view.
49 49
      * 
50 50
      * @param string $function  Variable name
51
-     * @param mixed  $callback
52 51
      * @param string $as        'function' or 'filter'
53 52
      * @return $this
54 53
      */
Please login to merge, or discard this patch.