Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lotfio committed Jul 21, 2020
1 parent fbe21f8 commit 01facb4
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,19 +191,16 @@ $conso->command("test", function($input, $output){

namespace Conso\Commands;

use Conso\Conso;
use Conso\Command as BaseCommand;
use Conso\Exceptions\InputException;
use Conso\Contracts\{CommandInterface,InputInterface,OutputInterface};
use Conso\{Conso,Command};

class Test extends BaseCommand implements CommandInterface
class Test extends Command implements CommandInterface
{
/**
* sub commands
*
* @var array
*/
protected $sub = array(
protected $sub = array(
);

/**
Expand Down Expand Up @@ -236,9 +233,9 @@ class Test extends BaseCommand implements CommandInterface
* @param OutputInterface $output
* @return void
*/
public function execute(InputInterface $input, OutputInterface $output, Conso $app) : void
public function execute(InputInterface $input, OutputInterface $output) : void
{
$this->displayCommandHelp($input, $output, $app);
$this->displayCommandHelp($input, $output);
}
}
```
Expand Down Expand Up @@ -267,4 +264,4 @@ If this project helped you reduce time to develop, you can give me a cup of coff

## ✨ License

Conso is an open-source software licensed under the **[MIT license](LICENCE)**.
Conso is an open-source software licensed under the **[MIT license](LICENCE)**.

0 comments on commit 01facb4

Please sign in to comment.