|
12 | 12 | * @method static \GuzzleHttp\Promise\PromiseInterface response(array|string|null $body = null, int $status = 200, array $headers = [])
|
13 | 13 | * @method static \GuzzleHttp\Psr7\Response psr7Response(array|string|null $body = null, int $status = 200, array $headers = [])
|
14 | 14 | * @method static \Illuminate\Http\Client\RequestException failedRequest(array|string|null $body = null, int $status = 200, array $headers = [])
|
15 |
| - * @method static \GuzzleHttp\Promise\PromiseInterface failedConnection(string|null $message = null) |
| 15 | + * @method static \Closure failedConnection(string|null $message = null) |
16 | 16 | * @method static \Illuminate\Http\Client\ResponseSequence sequence(array $responses = [])
|
17 | 17 | * @method static bool preventingStrayRequests()
|
18 | 18 | * @method static \Illuminate\Http\Client\Factory allowStrayRequests()
|
19 | 19 | * @method static \Illuminate\Http\Client\Factory record()
|
20 | 20 | * @method static void recordRequestResponsePair(\Illuminate\Http\Client\Request $request, \Illuminate\Http\Client\Response|null $response)
|
21 |
| - * @method static void assertSent(callable $callback) |
| 21 | + * @method static void assertSent(callable|\Closure $callback) |
22 | 22 | * @method static void assertSentInOrder(array $callbacks)
|
23 |
| - * @method static void assertNotSent(callable $callback) |
| 23 | + * @method static void assertNotSent(callable|\Closure $callback) |
24 | 24 | * @method static void assertNothingSent()
|
25 | 25 | * @method static void assertSentCount(int $count)
|
26 | 26 | * @method static void assertSequencesAreEmpty()
|
27 |
| - * @method static \Illuminate\Support\Collection recorded(callable $callback = null) |
| 27 | + * @method static \Illuminate\Support\Collection recorded(\Closure|callable $callback = null) |
28 | 28 | * @method static \Illuminate\Http\Client\PendingRequest createPendingRequest()
|
29 | 29 | * @method static \Illuminate\Contracts\Events\Dispatcher|null getDispatcher()
|
30 | 30 | * @method static array getGlobalMiddleware()
|
|
0 commit comments