This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
12
*/
13
public function execute()
14
{
15
if (!$this->config->getBool('shouldEnableModule')) {
16
return false;
17
}
18
19
if ($this->config->getBool('isModmanMode')) {
20
$this->output->writeln('<error>Module cannot be activated in modman mode</error>');
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.