public function getFunctionCallParameter(File $phpcsFile, $stackPtr, $paramOffset)
    {
        $parameters = $this->getFunctionCallParameters($phpcsFile, $stackPtr);

        if (isset($parameters[$paramOffset]) === false) {
            return false;
        } else {
            return $parameters[$paramOffset];
        }
    }
public function getFunctionCallParameter(File $phpcsFile, $stackPtr, $paramOffset)
    {
        $parameters = $this->getFunctionCallParameters($phpcsFile, $stackPtr);

        if (isset($parameters[$paramOffset]) === false) {
            return false;
        } else {
            return $parameters[$paramOffset];
        }
    }
public function getFunctionCallParameter ( File $ phpcsFile , $ stackPtr , $ paramOffset ) { $ parameters = $ this -> getFunctionCallParameters ( $ phpcsFile , $ stackPtr ) ; if ( isset ( $ parameters [ $ paramOffset ] ) === false ) { return false ; } else { return $ parameters [ $ paramOffset ] ; } }
Get information on a specific parameter passed to a function call.

Expects to be passed the T_STRING or T_VARIABLE stack pointer for the function call.
If passed a T_STRING which is *not* a function call, the behaviour is unreliable.

Will return a array with the start token pointer, end token pointer and the raw value
of the parameter at a specific offset.
If the specified parameter is not found, will return false.

@param \PHP_CodeSniffer_File $phpcsFile   The file being scanned.
@param int                   $stackPtr    The position of the function call token.
@param int                   $paramOffset The 1-based index position of the parameter to retrieve.

@return array|false
Get information on a specific parameter passed to a function call .