@@ -7,7 +7,7 @@ |
||
| 7 | 7 | |
| 8 | 8 | require __DIR__ . '/../vendor/autoload.php'; |
| 9 | 9 | |
| 10 | -putenv("APPLICATION_PATH=".dirname(__DIR__)); |
|
| 10 | +putenv("APPLICATION_PATH=" . dirname(__DIR__)); |
|
| 11 | 11 | |
| 12 | 12 | $locator = Locator::getInstance(); |
| 13 | 13 | $locator->service()->facade()->registerHandler(); |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | */ |
| 85 | 85 | private function setApplication(DependencyProviderInterface $container): void |
| 86 | 86 | { |
| 87 | - $container[self::APPLICATION] = function (DependencyProviderInterface $container) { |
|
| 87 | + $container[self::APPLICATION] = function(DependencyProviderInterface $container) { |
|
| 88 | 88 | return new ApplicationBridge(); |
| 89 | 89 | }; |
| 90 | 90 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | private function setApplicationServiceProvider(DependencyProviderInterface $container): void |
| 96 | 96 | { |
| 97 | - $container[self::APP_SERVICE_PROVIDER] = function (DependencyProviderInterface $container) { |
|
| 97 | + $container[self::APP_SERVICE_PROVIDER] = function(DependencyProviderInterface $container) { |
|
| 98 | 98 | return $this->getApplicationServiceProvider(); |
| 99 | 99 | }; |
| 100 | 100 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | */ |
| 105 | 105 | private function setRouteCollection(DependencyProviderInterface $container): void |
| 106 | 106 | { |
| 107 | - $container[self::APP_ROUTE_COLLECTION] = function (DependencyProviderInterface $container) { |
|
| 107 | + $container[self::APP_ROUTE_COLLECTION] = function(DependencyProviderInterface $container) { |
|
| 108 | 108 | return new RouterCollection( |
| 109 | 109 | $this->getRouteProvider() |
| 110 | 110 | ); |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | */ |
| 119 | 119 | private function setSecurityValidatorCollection(DependencyProviderInterface $container) |
| 120 | 120 | { |
| 121 | - $container[self::APP_SECURITY_VALIDATOR_COLLECTION] = function (DependencyProviderInterface $container) { |
|
| 121 | + $container[self::APP_SECURITY_VALIDATOR_COLLECTION] = function(DependencyProviderInterface $container) { |
|
| 122 | 122 | return new ValidatorCollection( |
| 123 | 123 | $this->getBasicAuthValidator($container) |
| 124 | 124 | ); |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | */ |
| 131 | 131 | private function setHandlerCollection(DependencyProviderInterface $container): void |
| 132 | 132 | { |
| 133 | - $container[self::APP_HANDLER] = function (DependencyProviderInterface $container) { |
|
| 133 | + $container[self::APP_HANDLER] = function(DependencyProviderInterface $container) { |
|
| 134 | 134 | return new HandlerCollection( |
| 135 | 135 | $this->getHandler() |
| 136 | 136 | ); |
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | public function startApplication() |
| 21 | 21 | { |
| 22 | 22 | $this->getFactory()->createApplication() |
| 23 | - ->boot() |
|
| 24 | - ->run(); |
|
| 23 | + ->boot() |
|
| 24 | + ->run(); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |