Completed
Pull Request — master (#14)
by Mihail
02:36
created
Interfaces.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 
306 306
 interface HttpStatus
307 307
 {
308
-    const CODE                = [
308
+    const CODE = [
309 309
         // Informational 1xx
310 310
         100 => 'Continue',
311 311
         101 => 'Switching Protocols',
@@ -340,9 +340,9 @@  discard block
 block discarded – undo
340 340
 
341 341
         // Client Error 4xx
342 342
         400 => 'Bad Request',
343
-        401 => 'Unauthorized',     // Really means "Unauthenticated"
343
+        401 => 'Unauthorized', // Really means "Unauthenticated"
344 344
         402 => 'Payment Required',
345
-        403 => 'Forbidden',        // Really means "Unauthorized"
345
+        403 => 'Forbidden', // Really means "Unauthorized"
346 346
         404 => 'Not Found',
347 347
         405 => 'Method Not Allowed',
348 348
         406 => 'Not Acceptable',
Please login to merge, or discard this patch.
StatusCode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     {
91 91
         try {
92 92
             $withCode += [false];
93
-            $status   = constant("self::$code");
93
+            $status = constant("self::$code");
94 94
 
95 95
             return ($withCode[0] ? $status . ' ' : '') . self::CODE[$status];
96 96
         } catch (Exception $e) {
Please login to merge, or discard this patch.