BaguettePHP/mastodon-api

View on GitHub
src/Grant/PasswordCredential.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method request from undeclared class \GuzzleHttp\ClientInterface
Open

        return $http->request('POST', static::getPathToOAuthToken($factory->client), [
Severity: Critical
Found in src/Grant/PasswordCredential.php by phan

Parameter $http has undeclared type \GuzzleHttp\ClientInterface
Open

    public function auth(Client $http, AuthFactory $factory, Scope $scope)
Severity: Minor
Found in src/Grant/PasswordCredential.php by phan

Return type of auth() is undeclared type \Psr\Http\Message\ResponseInterface
Open

    public function auth(Client $http, AuthFactory $factory, Scope $scope)
Severity: Minor
Found in src/Grant/PasswordCredential.php by phan

There are no issues that match your filters.

Category
Status