summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-08-11 16:34:40 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-08-11 16:34:40 +0300
commitaef354a430d329edcbf12843f8047ef27cb9470c (patch)
tree375b6f1c731906bc8e002d6e99bbc4ede010ae13 /src
parent0ccc3a271390b8491765960cc92575d7b96e05f1 (diff)
downloadsql-parser-aef354a430d329edcbf12843f8047ef27cb9470c.zip
sql-parser-aef354a430d329edcbf12843f8047ef27cb9470c.tar.gz
sql-parser-aef354a430d329edcbf12843f8047ef27cb9470c.tar.bz2
Typo in operator name.
Fixed spacing in comment.
Diffstat (limited to 'src')
-rw-r--r--src/Context.php2
-rw-r--r--src/Utils/BufferedQuery.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Context.php b/src/Context.php
index c52cbcf..c355534 100644
--- a/src/Context.php
+++ b/src/Context.php
@@ -95,7 +95,7 @@ abstract class Context
'%' => 1, '*' => 1, '+' => 1, '-' => 1, '/' => 1,
// @see Token::FLAG_OPERATOR_LOGICAL
- '!' => 2, '!==' => 2, '&&' => 2, '<' => 2, '<=' => 2,
+ '!' => 2, '!=' => 2, '&&' => 2, '<' => 2, '<=' => 2,
'<=>' => 2, '<>' => 2, '=' => 2, '>' => 2, '>=' => 2,
'||' => 2,
diff --git a/src/Utils/BufferedQuery.php b/src/Utils/BufferedQuery.php
index dc2bdcb..c01ead7 100644
--- a/src/Utils/BufferedQuery.php
+++ b/src/Utils/BufferedQuery.php
@@ -83,8 +83,8 @@ class BufferedQuery
/**
* Constructor.
*
- * @param string $query The query to be parsed.
- * @param array $options The options of this parser.
+ * @param string $query The query to be parsed.
+ * @param array $options The options of this parser.
*/
public function __construct($query = '', array $options = array())
{