src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php
private function existsParamTagWithArgument($parameters, ArgumentDescriptor $argument)
    {
        foreach ($parameters as $parameter) {
            if ($argument->getName() == $parameter->getVariableName()) {
                return true;
            }
        }

        return false;
    }
private function existsParamTagWithArgument($parameters, ArgumentDescriptor $argument)
    {
        foreach ($parameters as $parameter) {
            if ($argument->getName() == $parameter->getVariableName()) {
                return true;
            }
        }

        return false;
    }
private function existsParamTagWithArgument ( $ parameters , ArgumentDescriptor $ argument ) { foreach ( $ parameters as $ parameter ) { if ( $ argument -> getName ( ) == $ parameter -> getVariableName ( ) ) { return true ; } } return false ; }
Returns whether the list of param tags features the given argument.

@param ParamDescriptor[]|Collection $parameters
@param ArgumentDescriptor           $argument

@return boolean
Returns whether the list of param tags features the given argument .