It seems like $this->client->request('...', '/account/ssh-keys') can also be of type AcquiaCloudApi\Connector\StreamInterface; however, parameter $sshkeys of AcquiaCloudApi\Response\...Response::__construct() does only seem to accept array<mixed,object>, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation