@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public static function configureContainer(LimoncelloContainerInterface $container) |
35 | 35 | { |
36 | - $container[PDO::class] = function (PsrContainerInterface $container) { |
|
36 | + $container[PDO::class] = function(PsrContainerInterface $container) { |
|
37 | 37 | $settings = $container->get(SettingsProviderInterface::class)->get(C::class); |
38 | 38 | $database = new PDO( |
39 | 39 | $settings[C::KEY_CONNECTION_STRING], |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public static function configureContainer(LimoncelloContainerInterface $container) |
45 | 45 | { |
46 | - $container[LoggerInterface::class] = function (PsrContainerInterface $container) { |
|
46 | + $container[LoggerInterface::class] = function(PsrContainerInterface $container) { |
|
47 | 47 | $settingsProvider = $container->get(SettingsProviderInterface::class); |
48 | 48 | $appSettings = $settingsProvider->get(A::class); |
49 | 49 | $monologSettings = $settingsProvider->get(C::class); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | public static function configureContainer(LimoncelloContainerInterface $container) |
37 | 37 | { |
38 | - $container[AuthorizationManagerInterface::class] = function (PsrContainerInterface $container) { |
|
38 | + $container[AuthorizationManagerInterface::class] = function(PsrContainerInterface $container) { |
|
39 | 39 | $settingsProvider = $container->get(SettingsProviderInterface::class); |
40 | 40 | $settings = $settingsProvider->get(S::class); |
41 | 41 |
@@ -102,7 +102,7 @@ |
||
102 | 102 | public function setData(array $data) |
103 | 103 | { |
104 | 104 | list($this->foreignKeys, $this->belongsToMany, $this->relationshipTypes, |
105 | - $this->reversedRelationships,$this->tableNames, $this->primaryKeys, |
|
105 | + $this->reversedRelationships, $this->tableNames, $this->primaryKeys, |
|
106 | 106 | $this->attributeTypes, $this->attributeLengths, $this->attributes, $this->reversedClasses) = $data; |
107 | 107 | } |
108 | 108 |
@@ -93,7 +93,7 @@ |
||
93 | 93 | */ |
94 | 94 | public static function execute(ContainerInterface $container, IoInterface $inOut) |
95 | 95 | { |
96 | - $action = $inOut->getArgument(static::ARG_ACTION); |
|
96 | + $action = $inOut->getArgument(static::ARG_ACTION); |
|
97 | 97 | switch ($action) { |
98 | 98 | case static::ACTION_CREATE_CACHE: |
99 | 99 | (new self())->executeCache($container, $inOut); |
@@ -69,7 +69,7 @@ |
||
69 | 69 | */ |
70 | 70 | private function handle(Throwable $exception, SapiInterface $sapi, ContainerInterface $container) |
71 | 71 | { |
72 | - $message = 'Internal Server Error'; |
|
72 | + $message = 'Internal Server Error'; |
|
73 | 73 | |
74 | 74 | $this->logException($exception, $container, $message); |
75 | 75 |