diff --git a/src/Cron/CronExpression.php b/src/Cron/CronExpression.php index 80aa035..216ce43 100644 --- a/src/Cron/CronExpression.php +++ b/src/Cron/CronExpression.php @@ -177,6 +177,7 @@ public static function isValidExpression(string $expression): bool * * @param string $expression CRON expression (e.g. '8 * * * *') * @param null|FieldFactoryInterface $fieldFactory Factory to create cron fields + * @throws InvalidArgumentException */ public function __construct(string $expression, FieldFactoryInterface $fieldFactory = null) {