Fix complaints from PHPStan #2
Annotations
6 errors
M2 PHPStan:
Helper/JobConfig.php#L45
Method EthanYehuda\CronjobManager\Helper\JobConfig::getJobData() should return array|false but return statement is missing.
|
M2 PHPStan:
Helper/JobConfig.php#L95
Method EthanYehuda\CronjobManager\Helper\JobConfig::constructFrequencyPath() should return string but return statement is missing.
|
M2 PHPStan:
Helper/JobConfig.php#L120
Method EthanYehuda\CronjobManager\Helper\JobConfig::sanitizeJobConfig() should return array but return statement is missing.
|
M2 PHPStan:
Helper/JobConfig.php#L155
Method EthanYehuda\CronjobManager\Helper\JobConfig::parseCronConfigPath() should return string but return statement is missing.
|
M2 PHPStan:
Model/ProcessManagement.php#L18
Method EthanYehuda\CronjobManager\Model\ProcessManagement::isPidAlive() should return bool but return statement is missing.
|
M2 PHPStan:
Model/ProcessManagement.php#L32
Method EthanYehuda\CronjobManager\Model\ProcessManagement::killPid() should return bool but return statement is missing.
|