Passed
Push — develop ( e64509...b53b24 )
by nguereza
04:26
created
src/Config/Model/ConfigurationRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,14 +57,12 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Template/Tag/CsrfTag.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Http/Middleware/MaintenanceMiddleware.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,8 +138,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.