peppeocchi / php-cron-scheduler

PHP cron job scheduler
MIT License
811 stars 144 forks source link

Fixes #94 by checking for an array parameter when creating a Job ID #96

Closed phinor closed 5 years ago

phinor commented 5 years ago

The constructor for the Job class now specifically checks for arrays passed as command parameters (a valid "callable" structure) and creates an ID based on the MD5 version of the serialized array.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 1d315cba5e5d336cfe79635da36d2e197d12d815 on phinor:master into 44325d97a684deb4812671eb0a5008520bf0a2b2 on peppeocchi:master.