code: public function visitDocumentedParameterByReferenceMismatch(ParameterIssue\DocumentedParameterByReferenceMismatch $issue)
      {
          $this->typeCheck->visitDocumentedParameterByReferenceMismatch(func_get_args());
  
          if ($issue->isByReference()) {
              $nativeVariableType = 'by-reference';
              $documentedVariableType = 'by-value';
          } else {
              $nativeVariableType = 'by-value';
              $documentedVariableType = 'by-reference';
          }
  
          return sprintf(
              'Parameter $%s is defined as %s but documented as %s.',
              $issue->parameterName(),
              $nativeVariableType,
              $documentedVariableType
          );
      }
docs: @param ParameterIssue\DocumentedParameterByReferenceMismatch $issue
  
  @return string