Failed Conditions
Pull Request — master (#8)
by Arnold
03:48
created
src/Controller/Session/Flash.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function __construct(&$session)
33 33
     {
34
-        $this->session =& $session;
34
+        $this->session = & $session;
35 35
     }
36 36
     
37 37
     /**
Please login to merge, or discard this patch.
src/Controller/Output.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,8 @@
 block discarded – undo
290 290
      */
291 291
     protected function getContentType($format)
292 292
     {
293
-        if (\Jasny\str_contains($format, '/')) { // Already MIME
293
+        if (\Jasny\str_contains($format, '/')) {
294
+// Already MIME
294 295
             return $format;
295 296
         }
296 297
         
Please login to merge, or discard this patch.
src/Controller/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $this->session = $this->getRequest()->getAttribute('session');
39 39
         
40 40
         if (!isset($this->session)) {
41
-            $this->session =& $_SESSION;
41
+            $this->session = & $_SESSION;
42 42
         }
43 43
     }
44 44
     
Please login to merge, or discard this patch.
src/Controller/RouteAction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     /**
106 106
      * Cancel the action
107 107
      * 
108
-     * @return boolean
108
+     * @return boolean|null
109 109
      */
110 110
     public function cancel()
111 111
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     /**
152 152
      * Get the arguments for a function from a route using reflection
153 153
      * 
154
-     * @param object $route
154
+     * @param \stdClass $route
155 155
      * @param \ReflectionFunctionAbstract $refl
156 156
      * @return array
157 157
      */
Please login to merge, or discard this patch.