@@ -57,14 +57,12 @@ |
||
57 | 57 | * @extends Repository<Configuration> |
58 | 58 | * @implements ConfigurationRepositoryInterface<Configuration> |
59 | 59 | */ |
60 | -class ConfigurationRepository extends Repository implements ConfigurationRepositoryInterface |
|
61 | -{ |
|
60 | +class ConfigurationRepository extends Repository implements ConfigurationRepositoryInterface { |
|
62 | 61 | /** |
63 | 62 | * Create new instance |
64 | 63 | * @param EntityManager<Configuration> $manager |
65 | 64 | */ |
66 | - public function __construct(EntityManager $manager) |
|
67 | - { |
|
65 | + public function __construct(EntityManager $manager) { |
|
68 | 66 | parent::__construct($manager, Configuration::class); |
69 | 67 | } |
70 | 68 | } |
@@ -57,8 +57,7 @@ |
||
57 | 57 | * @package Platine\Framework\Template\Tag |
58 | 58 | * @template T |
59 | 59 | */ |
60 | -class CsrfTag extends AbstractTag |
|
61 | -{ |
|
60 | +class CsrfTag extends AbstractTag { |
|
62 | 61 | /** |
63 | 62 | * {@inheritdoc} |
64 | 63 | */ |
@@ -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; |