Skip to content

Commit ff5c52b

Browse files
Add missing throwUnless magic method (#42617)
* Add missing `throwUnless` magic method * Add missing `throwUnless` magic method
1 parent fbbbeb3 commit ff5c52b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Illuminate/Http/Client/Factory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
* @method \Illuminate\Http\Client\PendingRequest withoutVerifying()
4444
* @method \Illuminate\Http\Client\PendingRequest throw(callable $callback = null)
4545
* @method \Illuminate\Http\Client\PendingRequest throwIf($condition)
46+
* @method \Illuminate\Http\Client\PendingRequest throwUnless($condition)
4647
* @method array pool(callable $callback)
4748
* @method \Illuminate\Http\Client\Response delete(string $url, array $data = [])
4849
* @method \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null)

src/Illuminate/Support/Facades/Http.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
* @method static \Illuminate\Http\Client\PendingRequest withoutVerifying()
3939
* @method static \Illuminate\Http\Client\PendingRequest throw(callable $callback = null)
4040
* @method static \Illuminate\Http\Client\PendingRequest throwIf($condition)
41+
* @method \Illuminate\Http\Client\PendingRequest throwUnless($condition)
4142
* @method static array pool(callable $callback)
4243
* @method static \Illuminate\Http\Client\Response delete(string $url, array $data = [])
4344
* @method static \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null)

0 commit comments

Comments
 (0)