Skip to content

Commit 442b6d0

Browse files
authored
Make PendingRequest conditionable (#40762)
1 parent 00cdf85 commit 442b6d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Http/Client/PendingRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
use Illuminate\Http\Client\Events\ResponseReceived;
1414
use Illuminate\Support\Collection;
1515
use Illuminate\Support\Str;
16+
use Illuminate\Support\Traits\Conditionable;
1617
use Illuminate\Support\Traits\Macroable;
1718
use Psr\Http\Message\MessageInterface;
1819
use Symfony\Component\VarDumper\VarDumper;
1920

2021
class PendingRequest
2122
{
22-
use Macroable;
23+
use Conditionable, Macroable;
2324

2425
/**
2526
* The factory instance.

0 commit comments

Comments
 (0)