Skip to content

Commit

Permalink
Merge pull request #4 from cgauge/abdala-patch-1
Browse files Browse the repository at this point in the history
Use filtered tasks
  • Loading branch information
abdala authored Jun 20, 2023
2 parents 6b93be7 + 3654def commit 8cb43dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TaskManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function reverse(array $attributes): void
return $task instanceof Reversible;
});

foreach ($this->tasks as $task) {
foreach ($tasks as $task) {
$this->strategy->execute(static function () use ($task, $attributes): void {
$task->reverse($attributes);
}, $attributes);
Expand Down

0 comments on commit 8cb43dd

Please sign in to comment.