Completed
Push — 4.0 ( 6206cc...f0f3ee )
by Marco
12:26
created
src/Output/Processor.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -176,8 +176,8 @@  discard block
 block discarded – undo
176 176
                 break;
177 177
 
178 178
             /**
179
-            * @todo: how to get reverse allowed methods reference?
180
-            */
179
+             * @todo: how to get reverse allowed methods reference?
180
+             */
181 181
             // case 405: //Not allowed
182 182
             //
183 183
             // header('Allow: ' . $value, true, 405);
@@ -192,8 +192,8 @@  discard block
 block discarded – undo
192 192
                 break;
193 193
 
194 194
             /**
195
-            * @todo: how to get reverse allowed methods reference?
196
-            */
195
+             * @todo: how to get reverse allowed methods reference?
196
+             */
197 197
             // case 501: //Not implemented
198 198
             //
199 199
             // header('Allow: ' . $value, true, 501);
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
                 header($_SERVER["SERVER_PROTOCOL"].' 204 No Content');
117 117
                 header('Status: 204 No Content');
118
-                header('Content-Length: 0',true);
118
+                header('Content-Length: 0', true);
119 119
 
120 120
                 $return = null;
121 121
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             case 303: //See Other
128 128
             case 307: //Temporary Redirect
129 129
 
130
-                header("Location: ".$location->get(),true,$status);
130
+                header("Location: ".$location->get(), true, $status);
131 131
 
132 132
                 break;
133 133
 
@@ -135,11 +135,11 @@  discard block
 block discarded – undo
135 135
 
136 136
                 $last_modified = $headers->get('Last-Modified');
137 137
 
138
-                if ( is_null($last_modified) ) {
138
+                if (is_null($last_modified)) {
139 139
 
140 140
                     header($_SERVER["SERVER_PROTOCOL"].' 304 Not Modified');
141 141
 
142
-                } else if ( is_int($last_modified) ) {
142
+                } else if (is_int($last_modified)) {
143 143
 
144 144
                     header('Last-Modified: '.gmdate('D, d M Y H:i:s', $last_modified).' GMT', true, 304);
145 145
 
Please login to merge, or discard this patch.