diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-07-08 01:57:40 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-08 01:57:40 +0300 |
commit | 0bff48ae488e651c37d84ba0a9aa8ff57ae8a43e (patch) | |
tree | a83de6667ab20278aa5f874fda9a102987606c43 /src/Utils/Query.php | |
parent | 244180ae825b0d5fb1561efad6738e92d5eee07c (diff) | |
download | sql-parser-0bff48ae488e651c37d84ba0a9aa8ff57ae8a43e.zip sql-parser-0bff48ae488e651c37d84ba0a9aa8ff57ae8a43e.tar.gz sql-parser-0bff48ae488e651c37d84ba0a9aa8ff57ae8a43e.tar.bz2 |
Improved documentation.
Diffstat (limited to 'src/Utils/Query.php')
-rw-r--r-- | src/Utils/Query.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Utils/Query.php b/src/Utils/Query.php index ef5b07c..ba0d384 100644 --- a/src/Utils/Query.php +++ b/src/Utils/Query.php @@ -510,44 +510,44 @@ class Query /** * The index of the current clause. - * @var int + * @var int $currIdx */ $currIdx = 0; /** * The count of brackets. * We keep track of them so we won't insert the clause in a subquery. - * @var int + * @var int $brackets */ $brackets = 0; /** * The string to be returned. - * @var string + * @var string $ret */ $ret = ''; /** * The clauses of this type of statement and their index. - * @var array + * @var array $clauses */ $clauses = array_flip(array_keys($statement::$CLAUSES)); /** * Lexer used for lexing the clause. - * @var Lexer + * @var Lexer $lexer */ $lexer = new Lexer($clause); /** * The type of this clause. - * @var string + * @var string $clauseType */ $clauseType = $lexer->list->getNextOfType(Token::TYPE_KEYWORD)->value; /** * The index of this clause. - * @var int + * @var int $clauseIdx */ $clauseIdx = $clauses[$clauseType]; @@ -669,7 +669,7 @@ class Query /** * Value to be returned. - * @var string + * @var string $ret */ $ret = ''; |