diff options
-rw-r--r-- | src/Lexer.php | 2 | ||||
-rw-r--r-- | src/Utils/Query.php | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/Lexer.php b/src/Lexer.php index 627763b..06c3897 100644 --- a/src/Lexer.php +++ b/src/Lexer.php @@ -119,7 +119,7 @@ class Lexer extends Core * * @var string */ - public $delimiter; + public $delimiter = $DEFAULT_DELIMITER; /** * The length of the delimiter. diff --git a/src/Utils/Query.php b/src/Utils/Query.php index 6d1aa87..190166f 100644 --- a/src/Utils/Query.php +++ b/src/Utils/Query.php @@ -496,17 +496,17 @@ class Query /** * Gets a specific clause. * - * @param Statement $statement the parsed query that has to be modified - * @param TokensList $list the list of tokens - * @param string $clause the clause to be returned - * @param int|string $type The type of the search. - * If int, - * -1 for everything that was before - * 0 only for the clause - * 1 for everything after - * If string, the name of the first clause that - * should not be included. - * @param bool $skipFirst whether to skip the first keyword in clause + * @param Statement $statement the parsed query that has to be modified + * @param TokensList $list the list of tokens + * @param string $clause the clause to be returned + * @param integer|string $type The type of the search. + * If int, + * -1 for everything that was before + * 0 only for the clause + * 1 for everything after + * If string, the name of the first clause that + * should not be included. + * @param bool $skipFirst whether to skip the first keyword in clause * * @return string */ |