Skip to content

Commit

Permalink
class exists bugfix (#39851)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Rodriguez <adamr@healthendeavors.onmicrosoft.com>
  • Loading branch information
hendeavors and Adam Rodriguez committed Nov 30, 2021
1 parent 667cca8 commit fda8200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Http/Client/Factory.php
Expand Up @@ -123,7 +123,7 @@ public static function response($body = null, $status = 200, $headers = [])

$response = new Psr7Response($status, $headers, $body);

return class_exists(GuzzleHttp\Promise\Create::class)
return class_exists(\GuzzleHttp\Promise\Create::class)
? \GuzzleHttp\Promise\Create::promiseFor($response)
: \GuzzleHttp\Promise\promise_for($response);
}
Expand Down

0 comments on commit fda8200

Please sign in to comment.