Skip to content

Commit

Permalink
Fix cron-expression temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Mar 31, 2022
1 parent cf481b7 commit ac89ba0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public static function isValidExpression($expression)
*/
public function __construct($expression, FieldFactory $fieldFactory = null)
{
$this->fieldFactory = $fieldFactory;
$this->fieldFactory = $fieldFactory ?: new FieldFactory();
$this->setExpression($expression);
}

Expand Down

0 comments on commit ac89ba0

Please sign in to comment.