Passed
Push — master ( da75e4...867325 )
by nguereza
03:56 queued 01:54
created
app/Console/Command/ServerCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class ServerCommand
55 55
  * @package Platine\App\Console\Command
56 56
  */
57
-class ServerCommand extends Command
58
-{
57
+class ServerCommand extends Command {
59 58
     /**
60 59
      * The shell instance to use
61 60
      * @var Shell
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * Create new instance
67 66
      * {@inheritdoc}
68 67
      */
69
-    public function __construct(Shell $shell)
70
-    {
68
+    public function __construct(Shell $shell) {
71 69
         parent::__construct('server', 'Command to manage PHP development server');
72 70
         $this->addOption('-a|--address', 'Server address', 'localhost', true);
73 71
         $this->addOption('-p|--port', 'Server listen port', '8080', true);
@@ -79,8 +77,7 @@  discard block
 block discarded – undo
79 77
     /**
80 78
      * {@inheritdoc}
81 79
      */
82
-    public function execute()
83
-    {
80
+    public function execute() {
84 81
         $host = $this->getOptionValue('address');
85 82
         $port = $this->getOptionValue('port');
86 83
         $path = $this->getOptionValue('root');
Please login to merge, or discard this patch.