Skip to content

Commit ed76882

Browse files
committed
fix: event name error
1 parent 484e320 commit ed76882

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BaseTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function taskExec()
5555
return;
5656
}
5757

58-
if ($self->eventBeforeExec instanceof Closure) {
58+
if ($self->eventAfterExec instanceof Closure) {
5959
call_user_func($self->eventAfterExec, $self);
6060
}
6161
$self->log('end');

0 commit comments

Comments
 (0)