These issues are on Cakemail\Subapis\UserApi::getSelf() and Cakemail\Subapis\AccountApi::getSelf()
When getSelf() is called using $api->account->getSelf(); it returns Undefined variable $params
Sample code from UserApi class
public function getSelf()
{
if (gettype($params) != 'array' && gettype($params) != 'NULL') {
throw new ApiException('Parameter must be an array');
}
return new Response($this->openApiObj->getSelfUser());
}
These issues are on
Cakemail\Subapis\UserApi::getSelf()
andCakemail\Subapis\AccountApi::getSelf()
When
getSelf()
is called using $api->account->getSelf(); it returns Undefined variable $paramsSample code from UserApi class
$params
variable has no point of reference.