public function processNode(Node $node, Scope $scope) : array
{
return $this->check->checkFunction($node, $scope, sprintf('Parameter $%%s of method %s::%s() has invalid typehint type %%s.', $scope->getClass(), $node->name), sprintf('Return typehint of method %s::%s() has invalid type %%s.', $scope->getClass(), $node->name));
}