mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Return 0
This commit is contained in:
parent
3d9c94e29a
commit
2b1b0f6c34
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user