Update RParser.php
This commit is contained in:
parent
774fdfa5bb
commit
32a3cf70aa
|
@ -146,10 +146,10 @@ class RParser
|
|||
* This method is equivalent to the pseudo variable functionality in Bison.
|
||||
*
|
||||
* @link https://php.net/manual/en/parle-rparser.sigil.php
|
||||
* @param array $idx Match index, zero based. [ int $idx ]
|
||||
* @param int $idx Match index, zero based.
|
||||
* @return string Returns a string with the matched part.
|
||||
*/
|
||||
public function sigil(array $idx) : string {}
|
||||
public function sigil(int $idx) : string {}
|
||||
|
||||
/**
|
||||
* Declare a token
|
||||
|
@ -196,4 +196,4 @@ class RParser
|
|||
* @return bool Returns boolean witnessing whether the input chimes or not with the defined rules.
|
||||
*/
|
||||
public function validate(string $data, Lexer $lexer) : bool {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue