Skip to content

Commit 545d705

Browse files
committed
triggered finished callback correctly in v3
1 parent ecc49c0 commit 545d705

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Bolt/BoltResult.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ public function iterator(): Generator
9393
++$i;
9494
}
9595
}
96+
}
9697

97-
if ($this->finishedCallback) {
98-
call_user_func($this->finishedCallback, $this->meta);
99-
}
98+
if ($this->finishedCallback) {
99+
call_user_func($this->finishedCallback, $this->meta);
100100
}
101101
}
102102

0 commit comments

Comments
 (0)