summaryrefslogtreecommitdiffstats
path: root/src/Utils/Query.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-07-08 01:57:40 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-08 01:57:40 +0300
commit0bff48ae488e651c37d84ba0a9aa8ff57ae8a43e (patch)
treea83de6667ab20278aa5f874fda9a102987606c43 /src/Utils/Query.php
parent244180ae825b0d5fb1561efad6738e92d5eee07c (diff)
downloadsql-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.php16
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 = '';