Skip to content

Commit 4d14c85

Browse files
committed
Test
1 parent 89a8320 commit 4d14c85

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Models/StoredWorkflow.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,8 @@ public function active(): self
127127
$active = $this->fresh();
128128

129129
if ($active->status::class === WorkflowContinuedStatus::class) {
130-
$continued = $this->activeWorkflow()
130+
$active = $this->activeWorkflow()
131131
->first();
132-
133-
if ($continued !== null) {
134-
$active = $continued;
135-
}
136132
}
137133

138134
return $active;

0 commit comments

Comments
 (0)