Skip to content

Commit

Permalink
Update PendingRequest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
foremtehan authored May 8, 2024
1 parent 869c1d9 commit 60491d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Http/Client/PendingRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ protected function requestsReusableClient()
*/
protected function getReusableClient()
{
return $this->client = $this->client ?: $this->createClient($this->buildHandlerStack());
return $this->client ??= $this->createClient($this->buildHandlerStack());
}

/**
Expand Down

0 comments on commit 60491d1

Please sign in to comment.