src/phpDocumentor/Plugin/Core/Descriptor/Validator/Functions/AreAllArgumentsValid.php
protected function isArgumentInDocBlock($index, ArgumentReflector $argument, BaseReflector $element, array $params)
    {
        if (isset($params[$index])) {
            return null;
        }

        return new Error(
            LogLevel::ERROR,
            'PPC:ERR-50015',
            $argument->getLinenumber(),
            array($argument->getName(), $element->getName())
        );
    }
protected function isArgumentInDocBlock($index, ArgumentReflector $argument, BaseReflector $element, array $params)
    {
        if (isset($params[$index])) {
            return null;
        }

        return new Error(
            LogLevel::ERROR,
            'PPC:ERR-50015',
            $argument->getLinenumber(),
            array($argument->getName(), $element->getName())
        );
    }
protected function isArgumentInDocBlock ( $ index , ArgumentReflector $ argument , BaseReflector $ element , array $ params ) { if ( isset ( $ params [ $ index ] ) ) { return null ; } return new Error ( LogLevel :: ERROR , 'PPC:ERR-50015' , $ argument -> getLinenumber ( ) , array ( $ argument -> getName ( ) , $ element -> getName ( ) ) ) ; }
Validates whether an argument is mentioned in the docblock.

@param integer           $index    The position in the argument listing.
@param ArgumentReflector $argument The argument itself.
@param BaseReflector     $element
@param Tag[]             $params   The list of param tags to validate against.

@return bool whether an issue occurred.
Validates whether an argument is mentioned in the docblock .