schmittjoh / JMSJobQueueBundle

Run and Schedule Symfony Console Commands as Background Jobs
http://jmsyst.com/bundles/JMSJobQueueBundle
334 stars 254 forks source link

PHP 7.1.17 shouldSchedule Declaration error #217

Closed dkorsak closed 5 years ago

dkorsak commented 6 years ago

Compile Error: Declaration of JMS\JobQueueBundle\Cron\CommandScheduler::shouldSchedule($_, DateTime $lastRunAt): bool must be compatible with JMS\JobQ
ueueBundle\Cron\JobScheduler::shouldSchedule(string $command, DateTime $lastRunAt): bool

after execute command: jms-job-queue:schedule

schmittjoh commented 5 years ago

fixed in the latest version