File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function start(
8686 ->setTaskQueue (new TaskQueue (['name ' => $ options ->taskQueue ]))
8787 ->setWorkflowType (new WorkflowType (['name ' => $ workflowType ]))
8888 ->setWorkflowId ($ workflowId )
89- ->setCronSchedule ($ options ->cronSchedule )
89+ ->setCronSchedule ($ options ->cronSchedule ?? '' )
9090 ->setRetryPolicy ($ options ->toRetryPolicy ())
9191 ->setWorkflowIdReusePolicy ($ options ->workflowIdReusePolicy )
9292 ->setWorkflowRunTimeout (DateInterval::toDuration ($ options ->workflowRunTimeout ))
@@ -152,7 +152,7 @@ public function signalWithStart(
152152 ->setTaskQueue (new TaskQueue (['name ' => $ options ->taskQueue ]))
153153 ->setWorkflowType (new WorkflowType (['name ' => $ workflowType ]))
154154 ->setWorkflowId ($ workflowId )
155- ->setCronSchedule ($ options ->cronSchedule )
155+ ->setCronSchedule ($ options ->cronSchedule ?? '' )
156156 ->setRetryPolicy ($ options ->toRetryPolicy ())
157157 ->setWorkflowIdReusePolicy ($ options ->workflowIdReusePolicy )
158158 ->setWorkflowRunTimeout (DateInterval::toDuration ($ options ->workflowRunTimeout ))
You can’t perform that action at this time.
0 commit comments