Failed Conditions
Pull Request — master (#6)
by
unknown
04:05
created
src/Controller.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -111,25 +111,25 @@
 block discarded – undo
111 111
     }   
112 112
 
113 113
     /**
114
-      * Check if response is 4xx or 5xx error
115
-      *
116
-      * @return boolean
117
-      */
118
-     public function isError()
119
-     {
120
-         return $this->isClientError() || $this->isServerError();
121
-     } 
122
-
123
-     /**
124
-      * Get status code of response
125
-      *
126
-      * @return int
127
-      */
128
-     protected function getResponseStatusCode()
129
-     {
114
+     * Check if response is 4xx or 5xx error
115
+     *
116
+     * @return boolean
117
+     */
118
+        public function isError()
119
+        {
120
+            return $this->isClientError() || $this->isServerError();
121
+        } 
122
+
123
+        /**
124
+         * Get status code of response
125
+         *
126
+         * @return int
127
+         */
128
+        protected function getResponseStatusCode()
129
+        {
130 130
         $response = $this->getResponse();
131 131
 
132 132
         return $response ? $response->getStatusCode() : 0;
133
-     }
133
+        }
134 134
 }
135 135
 
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.