Passed
Branch 0.7.0 (159192)
by Alexander
02:45
created
src/components/Core/Application.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected static $phpVersion = '7.3.12';
56 56
 
57
-     /**
58
-     * The custom application path defined by the developer.
59
-     *
60
-     * @var string $appPath
61
-     */
57
+        /**
58
+         * The custom application path defined by the developer.
59
+         *
60
+         * @var string $appPath
61
+         */
62 62
     protected $appPath;
63 63
 
64 64
     /**
@@ -459,24 +459,24 @@  discard block
 block discarded – undo
459 459
     }
460 460
 
461 461
     /**
462
-	 * You can load different configurations depending on your
463
-	 * current environment. Setting the environment also influences
464
-	 * things like logging and error reporting.
465
-	 *
466
-	 * This can be set to anything, but default usage is:
467
-	 *
468
-	 *     local (development)
469
-	 *     testing
470
-	 *     production
471
-	 *
472
-	 * @return string
473
-	 */
474
-	public function bootEnvironment()
475
-	{
476
-		if (file_exists(SYS_PATH.'src'.DIRECTORY_SEPARATOR.'environment'.DIRECTORY_SEPARATOR.$this->environment().'.php')) {
477
-			require_once SYS_PATH.'src'.DIRECTORY_SEPARATOR.'environment'.DIRECTORY_SEPARATOR.$this->environment().'.php';
478
-		} else {
479
-			header('HTTP/1.1 503 Service Unavailable.', true, 503);
462
+     * You can load different configurations depending on your
463
+     * current environment. Setting the environment also influences
464
+     * things like logging and error reporting.
465
+     *
466
+     * This can be set to anything, but default usage is:
467
+     *
468
+     *     local (development)
469
+     *     testing
470
+     *     production
471
+     *
472
+     * @return string
473
+     */
474
+    public function bootEnvironment()
475
+    {
476
+        if (file_exists(SYS_PATH.'src'.DIRECTORY_SEPARATOR.'environment'.DIRECTORY_SEPARATOR.$this->environment().'.php')) {
477
+            require_once SYS_PATH.'src'.DIRECTORY_SEPARATOR.'environment'.DIRECTORY_SEPARATOR.$this->environment().'.php';
478
+        } else {
479
+            header('HTTP/1.1 503 Service Unavailable.', true, 503);
480 480
             print('<style>
481 481
                     body {
482 482
                         align-items: center;
@@ -499,9 +499,9 @@  discard block
 block discarded – undo
499 499
                     }
500 500
                   </style>
501 501
                   <p>The application environment is not set correctly.</p>');
502
-			exit; // EXIT_ERROR
503
-		}
504
-	}
502
+            exit; // EXIT_ERROR
503
+        }
504
+    }
505 505
 
506 506
     /**
507 507
      * Determine if the application has been bootstrapped before.
@@ -649,13 +649,13 @@  discard block
 block discarded – undo
649 649
         $this->loadServiceProviders[get_class($provider)] = true;
650 650
     }
651 651
 
652
-     /**
653
-     * Determine if the given id type has been bound.
654
-     * 
655
-     * @param  string  $id
656
-     * 
657
-     * @return bool
658
-     */
652
+        /**
653
+         * Determine if the given id type has been bound.
654
+         * 
655
+         * @param  string  $id
656
+         * 
657
+         * @return bool
658
+         */
659 659
     public function bound($id)
660 660
     {
661 661
         return parent::bound($id);
Please login to merge, or discard this patch.