1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00
This commit is contained in:
Matthew Brown 2019-11-21 09:02:56 -05:00
parent 3d9c94e29a
commit 2b1b0f6c34
3 changed files with 9 additions and 3 deletions

View File

@ -45,7 +45,7 @@ class DisableCommand extends Command
} }
/** /**
* @return null|int * @return int
*/ */
protected function execute(InputInterface $i, OutputInterface $o) protected function execute(InputInterface $i, OutputInterface $o)
{ {
@ -80,5 +80,7 @@ class DisableCommand extends Command
$plugin_list->disable($plugin_class); $plugin_list->disable($plugin_class);
$io->success('Plugin disabled'); $io->success('Plugin disabled');
return 0;
} }
} }

View File

@ -45,7 +45,7 @@ class EnableCommand extends Command
} }
/** /**
* @return null|int * @return int
*/ */
protected function execute(InputInterface $i, OutputInterface $o) protected function execute(InputInterface $i, OutputInterface $o)
{ {
@ -80,5 +80,7 @@ class EnableCommand extends Command
$plugin_list->enable($plugin_class); $plugin_list->enable($plugin_class);
$io->success('Plugin enabled'); $io->success('Plugin enabled');
return 0;
} }
} }

View File

@ -40,7 +40,7 @@ class ShowCommand extends Command
} }
/** /**
* @return null|int * @return int
*/ */
protected function execute(InputInterface $i, OutputInterface $o) protected function execute(InputInterface $i, OutputInterface $o)
{ {
@ -90,5 +90,7 @@ class ShowCommand extends Command
} else { } else {
$io->note('No plugins available'); $io->note('No plugins available');
} }
return 0;
} }
} }