-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
86 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,22 @@ | |
|
||
/** | ||
* @author <[email protected]> | ||
* | ||
* @version 1.5.0 | ||
* | ||
* @license MIT | ||
* | ||
* @category CLI | ||
* | ||
* @copyright 2019 Lotfio Lakehal | ||
*/ | ||
|
||
use Conso\Command as BaseCommand; | ||
use Conso\Conso; | ||
use function Conso\commandHelp; | ||
use Conso\Contracts\CommandInterface; | ||
use Conso\Contracts\InputInterface; | ||
use Conso\Contracts\OutputInterface; | ||
use Conso\Exceptions\InputException; | ||
use function Conso\commandHelp; | ||
|
||
class Command extends BaseCommand implements CommandInterface | ||
{ | ||
|
@@ -59,7 +62,7 @@ class Command extends BaseCommand implements CommandInterface | |
* | ||
* @return void | ||
*/ | ||
public function execute(InputInterface $input, OutputInterface $output) : void | ||
public function execute(InputInterface $input, OutputInterface $output): void | ||
{ | ||
commandHelp($this->app->invokedCommand, $output); | ||
} | ||
|
@@ -72,7 +75,7 @@ public function execute(InputInterface $input, OutputInterface $output) : void | |
* | ||
* @return void | ||
*/ | ||
public function make(InputInterface $input, OutputInterface $output) : void | ||
public function make(InputInterface $input, OutputInterface $output): void | ||
{ | ||
$name = $input->option(0); | ||
|
||
|
@@ -107,7 +110,7 @@ public function make(InputInterface $input, OutputInterface $output) : void | |
* | ||
* @return void | ||
*/ | ||
public function delete(InputInterface $input, OutputInterface $output) : void | ||
public function delete(InputInterface $input, OutputInterface $output): void | ||
{ | ||
$name = $input->option(0); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters