Skip to content

Commit 266b16d

Browse files
committed
PHP8.4 compatibility
1 parent 28bf1fe commit 266b16d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ExecutableWorkflow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface ExecutableWorkflow
1212
* @throws WorkflowException
1313
*/
1414
public function executeWorkflow(
15-
WorkflowContainer $workflowContainer = null,
15+
?WorkflowContainer $workflowContainer = null,
1616
bool $throwOnFailure = true
1717
): WorkflowResult;
1818
}

src/Stage/Next/AllowNextExecuteWorkflow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
trait AllowNextExecuteWorkflow
1717
{
1818
public function executeWorkflow(
19-
WorkflowContainer $workflowContainer = null,
19+
?WorkflowContainer $workflowContainer = null,
2020
bool $throwOnFailure = true
2121
): WorkflowResult {
2222
if (!$workflowContainer) {

0 commit comments

Comments
 (0)