dragonmantank / cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
MIT License
4.57k stars 124 forks source link

Add throws docblock in CronExpression constructor #158

Closed onemoreangle closed 1 year ago

onemoreangle commented 1 year ago

Added "throws" docblock section, so it's immediately obvious in which way an invalid cron expression will fail

dragonmantank commented 1 year ago

Merged, will release here in a bit. Thanks!