@@ -70,8 +70,7 @@ |
||
70 | 70 | * @package Platine\Framework\Http\Middleware |
71 | 71 | * @template T |
72 | 72 | */ |
73 | -class MaintenanceMiddleware implements MiddlewareInterface |
|
74 | -{ |
|
73 | +class MaintenanceMiddleware implements MiddlewareInterface { |
|
75 | 74 | /** |
76 | 75 | * The configuration instance |
77 | 76 | * @var Config<T> |
@@ -138,8 +138,8 @@ |
||
138 | 138 | ); |
139 | 139 | |
140 | 140 | $httpException->setTitle('Service Unavailable') |
141 | - ->setDescription($message) |
|
142 | - ->setHeaders($this->getHeaders($data)); |
|
141 | + ->setDescription($message) |
|
142 | + ->setHeaders($this->getHeaders($data)); |
|
143 | 143 | |
144 | 144 | // TODO Add headers |
145 | 145 | throw $httpException; |
@@ -55,8 +55,7 @@ |
||
55 | 55 | * @package Platine\Framework\Config |
56 | 56 | * @template TDbConfigurationEntity as Entity |
57 | 57 | */ |
58 | -interface DatabaseConfigLoaderInterface extends LoaderInterface |
|
59 | -{ |
|
58 | +interface DatabaseConfigLoaderInterface extends LoaderInterface { |
|
60 | 59 | /** |
61 | 60 | * Load the configuration from database |
62 | 61 | * @param array<string, mixed> $where |
@@ -55,6 +55,5 @@ |
||
55 | 55 | * @template TDbConfigurationEntity as \Platine\Orm\Entity |
56 | 56 | * @extends RepositoryInterface<TDbConfigurationEntity> |
57 | 57 | */ |
58 | -interface ConfigurationRepositoryInterface extends RepositoryInterface |
|
59 | -{ |
|
58 | +interface ConfigurationRepositoryInterface extends RepositoryInterface { |
|
60 | 59 | } |