tests/Grant/DummyGrant.php
Return type of auth()
is undeclared type \Psr\Http\Message\ResponseInterface
Open
Open
public function auth(GuzzleHttpClient $http, AuthFactory $factory, Scope $scope)
- Exclude checks
Call to method __construct
from undeclared class \GuzzleHttp\Psr7\Response
Open
Open
return new \GuzzleHttp\Psr7\Response;
- Exclude checks
Doc-block of $http
in auth
contains phpdoc param type \Baguette\Mastodon\Grant\Client
which is incompatible with the param type \GuzzleHttp\ClientInterface
declared in the signature Open
Open
* @param Client $http
- Exclude checks
Parameter $http
has undeclared type \GuzzleHttp\ClientInterface
Open
Open
public function auth(GuzzleHttpClient $http, AuthFactory $factory, Scope $scope)
- Exclude checks
Returning type \GuzzleHttp\Psr7\Response
but auth()
is declared to return \Psr\Http\Message\ResponseInterface
Open
Open
return new \GuzzleHttp\Psr7\Response;
- Exclude checks