Skip to content

Commit 3875870

Browse files
committed
style
1 parent 3455c35 commit 3875870

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/Illuminate/Http/Client/PendingRequest.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class PendingRequest
164164

165165
/**
166166
* The callbacks that should execute after the Laravel Response is built.
167-
*
167+
*
168168
* @var \Illuminate\Support\Collection<int, (callable(\Illuminate\Http\Client\Response))>
169169
*/
170170
protected $afterResponseCallbacks;
@@ -746,7 +746,8 @@ public function beforeSending($callback)
746746

747747
/**
748748
* Add a new callback to execute after the response is built.
749-
* @param callable(\Illuminate\Http\Client\Response) $callback
749+
*
750+
* @param (callable(\Illuminate\Http\Client\Response): void) $callback
750751
* @return $this
751752
*/
752753
public function afterResponse(callable $callback)
@@ -1599,6 +1600,12 @@ protected function newResponse($response)
15991600
});
16001601
}
16011602

1603+
/**
1604+
* Execute the "after response" callbacks.
1605+
*
1606+
* @param Response $response
1607+
* @return void
1608+
*/
16021609
protected function runAfterResponseCallbacks(Response $response)
16031610
{
16041611
$this->afterResponseCallbacks->each(static fn (callable $callback) => $callback($response));

0 commit comments

Comments
 (0)