Skip to content

Commit e2ecb45

Browse files
committed
Fix psalm error
1 parent c1d9d8b commit e2ecb45

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/LaravelHttpClientLoggerServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public function packageBooted()
5454
/** @var \Illuminate\Http\Client\PendingRequest $this */
5555
return $this->log($context, $config, $logger, $filter);
5656
} else {
57+
/** @var \Illuminate\Http\Client\PendingRequest $this */
5758
return $this;
5859
}
5960
});

src/Middleware/LoggingMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(HttpLoggerInterface $logger, HttpLoggingFilterInterf
2424
* Called when the middleware is handled by the client.
2525
*
2626
* @param array $context
27-
* @return callable(RequestInterface, array): PromiseInterface
27+
* @return callable
2828
*/
2929
public function __invoke($context = [], $config = []): callable
3030
{

0 commit comments

Comments
 (0)