- Issue created by @almunnings
- Merge request !13Issue #3542541: GoogleApiServiceClientInterface mixed → (Open) created by almunnings
Interface raises a warning in higher phpstan levels. Json::decode
would return mixed
.
GoogleApiServiceClientInterface
/**
* Function returns Json file of the account.
*
* @return string
* Returns the JSON.
*/
public function getAuthConfig();
GoogleApiServiceClient
/**
* {@inheritdoc}
*/
public function getAuthConfig() {
return Json::decode($this->auth_config);
}
Update interface return and docblock to mixed.
/**
* Get the authentication configuration.
*
* @return mixed
* Returns the decoded JSON.
*/
public function getAuthConfig();
—
—
—
—
Active
4.5
Code