src/Eloquent/Typhoon/CodeAnalysis/Issue/IssueRenderer.php
public function visitDocumentedParameterTypeMismatch(ParameterIssue\DocumentedParameterTypeMismatch $issue)
    {
        $this->typeCheck->visitDocumentedParameterTypeMismatch(func_get_args());

        return sprintf(
            "Documented type '%s' is not correct for defined type '%s' of parameter $%s.",
            $issue->documentedType()->accept($this->typeRenderer()),
            $issue->type()->accept($this->typeRenderer()),
            $issue->parameterName()
        );
    }
public function visitDocumentedParameterTypeMismatch(ParameterIssue\DocumentedParameterTypeMismatch $issue)
    {
        $this->typeCheck->visitDocumentedParameterTypeMismatch(func_get_args());

        return sprintf(
            "Documented type '%s' is not correct for defined type '%s' of parameter $%s.",
            $issue->documentedType()->accept($this->typeRenderer()),
            $issue->type()->accept($this->typeRenderer()),
            $issue->parameterName()
        );
    }
@param ParameterIssue\DocumentedParameterTypeMismatch $issue

@return string