Skip to content

Commit

Permalink
🩹 Fix CanAsync infinite loop (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
pentacore authored Jun 25, 2024
1 parent 8654366 commit 9ed8198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/CanAsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public static function handleAsync(callable $callback): Promise
*/
public function async(callable $callback): Promise
{
return static::async($callback);
return static::handleAsync($callback);
}
}

0 comments on commit 9ed8198

Please sign in to comment.