Skip to content

Commit

Permalink
Request handler patch.
Browse files Browse the repository at this point in the history
Changelog excerpt:
- Added a guard to the request handler's request method to fail if
  curl_init doesn't exist.
  • Loading branch information
Maikuolan committed Aug 2, 2024
1 parent d6c86c3 commit 7145963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function request(string $URI, $Params = [], int $Timeout = -1, array $Hea
{
/** Guard. */
if (!function_exists('curl_init')) {
return false;
return '';
}

/** Test channel triggers. */
Expand Down

0 comments on commit 7145963

Please sign in to comment.