adjust to promise template annotations #46
Annotations
8 errors
PHPStan:
src/Promise/HttpFulfilledPromise.php#L31
Method Http\Client\Promise\HttpFulfilledPromise::then() should return Http\Promise\Promise<V, Http\Client\Exception> but returns Http\Client\Promise\HttpFulfilledPromise.
|
PHPStan:
src/Promise/HttpFulfilledPromise.php#L31
Parameter #1 $response of class Http\Client\Promise\HttpFulfilledPromise constructor expects Psr\Http\Message\ResponseInterface, V given.
|
PHPStan:
src/Promise/HttpFulfilledPromise.php#L33
Method Http\Client\Promise\HttpFulfilledPromise::then() should return Http\Promise\Promise<V, Http\Client\Exception> but returns Http\Client\Promise\HttpRejectedPromise.
|
PHPStan:
src/Promise/HttpFulfilledPromise.php#L44
Method Http\Client\Promise\HttpFulfilledPromise::wait() should return Psr\Http\Message\ResponseInterface|null but return statement is missing.
|
PHPStan:
src/Promise/HttpRejectedPromise.php#L36
Method Http\Client\Promise\HttpRejectedPromise::then() should return Http\Promise\Promise<V, Http\Client\Exception> but returns Http\Client\Promise\HttpFulfilledPromise.
|
PHPStan:
src/Promise/HttpRejectedPromise.php#L36
Parameter #1 $response of class Http\Client\Promise\HttpFulfilledPromise constructor expects Psr\Http\Message\ResponseInterface, V of mixed given.
|
PHPStan:
src/Promise/HttpRejectedPromise.php#L38
Method Http\Client\Promise\HttpRejectedPromise::then() should return Http\Promise\Promise<V, Http\Client\Exception> but returns Http\Client\Promise\HttpRejectedPromise.
|
PHPStan:
src/Promise/HttpRejectedPromise.php#L49
Method Http\Client\Promise\HttpRejectedPromise::wait() should return Psr\Http\Message\ResponseInterface|null but return statement is missing.
|
The logs for this run have expired and are no longer available.
Loading