Passed
Push — develop ( 027947...5e3b9c )
by nguereza
02:57
created
src/Http/Maintenance/Driver/FileMaintenanceDriver.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * @package Platine\Framework\Http\Maintenance\Driver
56 56
  * @template T
57 57
  */
58
-class FileMaintenanceDriver implements MaintenanceDriverInterface
59
-{
58
+class FileMaintenanceDriver implements MaintenanceDriverInterface {
60 59
     /**
61 60
      * The application configuration
62 61
      * @var Config<T>
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
      * @param Config<T> $config
75 74
      * @param Filesystem $filesystem
76 75
      */
77
-    public function __construct(Config $config, Filesystem $filesystem)
78
-    {
76
+    public function __construct(Config $config, Filesystem $filesystem) {
79 77
         $this->config = $config;
80 78
         $this->filesystem = $filesystem;
81 79
     }
Please login to merge, or discard this patch.
src/Http/Maintenance/MaintenanceDriverInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class MaintenanceDriverInterface
52 52
  * @package Platine\Framework\Http\Maintenance
53 53
  */
54
-interface MaintenanceDriverInterface
55
-{
54
+interface MaintenanceDriverInterface {
56 55
     /**
57 56
      * Whether the maintenance is active or not
58 57
      * @return bool
Please login to merge, or discard this patch.
src/Console/Command/MaintenanceCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
  * @package Platine\Framework\Console\Command
59 59
  * @template T
60 60
  */
61
-class MaintenanceCommand extends Command
62
-{
61
+class MaintenanceCommand extends Command {
63 62
     /**
64 63
      * The configuration to use
65 64
      * @var Config<T>
@@ -173,8 +172,7 @@  discard block
 block discarded – undo
173 172
     /**
174 173
      * {@inheritdoc}
175 174
      */
176
-    public function execute()
177
-    {
175
+    public function execute() {
178 176
         $type = $this->getArgumentValue('type');
179 177
 
180 178
         $io = $this->io();
Please login to merge, or discard this patch.