Skip to content

Commit

Permalink
Fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
VennDev committed Aug 18, 2024
1 parent 5b06b11 commit 991e4de
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/vennv/vapm/ClosureThread.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,8 @@ public function onRun(): void
} else {
$callback = (string) $callback;
}
if (is_string($callback)) {
self::post($callback);
} elseif (is_bool($callback)) {
self::post($callback ? 'true' : 'false');
}
if (is_bool($callback)) $callback = (string) $callback;
self::post($callback);
}
}

Expand Down

0 comments on commit 991e4de

Please sign in to comment.