src/Standards/BestIt/CodeSniffer/AbstractFileDecorator.php
public function findFirstOnLine($types, $start, $exclude = false, $value = null)
    {
        return $this->__call(__FUNCTION__, func_get_args());
    }
public function findFirstOnLine($types, $start, $exclude = false, $value = null)
    {
        return $this->__call(__FUNCTION__, func_get_args());
    }
public function findFirstOnLine ( $ types , $ start , $ exclude = false , $ value = null ) { return $ this -> __call ( __FUNCTION__ , func_get_args ( ) ) ; }
Returns the position of the first token on a line, matching given type.

Returns false if no token can be found.

@param int|array $types The type(s) of tokens to search for.
@param int $start The position to start searching from in the
token stack. The first token matching on
this line before this token will be returned.
@param bool $exclude If true, find the token that is NOT of
the types specified in $types.
@param string $value The value that the token must be equal to.
If value is omitted, tokens with any value will
be returned.

@return int | bool
Returns the position of the first token on a line matching given type .