Skip to content

Commit

Permalink
[11.x] Use the same parameter type for 'throwUnless' as used for 'thr…
Browse files Browse the repository at this point in the history
…owIf' (#52626)
  • Loading branch information
pataar authored Sep 2, 2024
1 parent bf4ec27 commit 4044172
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 @@ -716,7 +716,7 @@ public function throwIf($condition)
/**
* Throw an exception if a server or client error occurred and the given condition evaluates to false.
*
* @param bool $condition
* @param callable|bool $condition
* @return $this
*/
public function throwUnless($condition)
Expand Down

0 comments on commit 4044172

Please sign in to comment.