Skip to content

Commit bead40d

Browse files
committed
Fix comment type
Signed-off-by: Michal Čihař <[email protected]>
1 parent c5feb2e commit bead40d

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/Lexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class Lexer extends Core
119119
*
120120
* @var string
121121
*/
122-
public $delimiter;
122+
public $delimiter = $DEFAULT_DELIMITER;
123123

124124
/**
125125
* The length of the delimiter.

src/Utils/Query.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -496,17 +496,17 @@ public static function getTables($statement)
496496
/**
497497
* Gets a specific clause.
498498
*
499-
* @param Statement $statement the parsed query that has to be modified
500-
* @param TokensList $list the list of tokens
501-
* @param string $clause the clause to be returned
502-
* @param int|string $type The type of the search.
503-
* If int,
504-
* -1 for everything that was before
505-
* 0 only for the clause
506-
* 1 for everything after
507-
* If string, the name of the first clause that
508-
* should not be included.
509-
* @param bool $skipFirst whether to skip the first keyword in clause
499+
* @param Statement $statement the parsed query that has to be modified
500+
* @param TokensList $list the list of tokens
501+
* @param string $clause the clause to be returned
502+
* @param integer|string $type The type of the search.
503+
* If int,
504+
* -1 for everything that was before
505+
* 0 only for the clause
506+
* 1 for everything after
507+
* If string, the name of the first clause that
508+
* should not be included.
509+
* @param bool $skipFirst whether to skip the first keyword in clause
510510
*
511511
* @return string
512512
*/

0 commit comments

Comments
 (0)