Skip to content

Commit 8385ace

Browse files
committed
Fix PHPStan issue about Promise not being generic
1 parent a036755 commit 8385ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Bitbucket/API/Http/Plugin/ApiVersionPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct($version)
2727
* @param callable $next Next middleware in the chain, the request is passed as the first argument
2828
* @param callable $first First middleware in the chain, used to to restart a request
2929
*
30-
* @return Promise<ResponseInterface> Resolves a PSR-7 Response or fails with an Http\Client\Exception (The same as HttpAsyncClient).
30+
* @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception (The same as HttpAsyncClient).
3131
*/
3232
protected function doHandleRequest(RequestInterface $request, callable $next, callable $first)
3333
{

0 commit comments

Comments
 (0)