diff options
author | Bruno Perel <brunoperel@gmail.com> | 2018-11-26 20:02:58 +0100 |
---|---|---|
committer | Bruno Perel <brunoperel@gmail.com> | 2018-11-26 20:09:00 +0100 |
commit | ef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705 (patch) | |
tree | d1025e7c4f85973ef4a92789eafb825b70ce4472 /src/Utils/CLI.php | |
parent | 513ed8175bdc0fc17a192ea29757cf8fee178c2a (diff) | |
download | sql-parser-ef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705.zip sql-parser-ef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705.tar.gz sql-parser-ef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705.tar.bz2 |
Use triple (in)equalities when type compatibility is ensured
Diffstat (limited to 'src/Utils/CLI.php')
-rw-r--r-- | src/Utils/CLI.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils/CLI.php b/src/Utils/CLI.php index d412789..3dc48a6 100644 --- a/src/Utils/CLI.php +++ b/src/Utils/CLI.php @@ -120,7 +120,7 @@ class CLI $lexer = new Lexer($params['q'], false); $parser = new Parser($lexer->list); $errors = Error::get(array($lexer, $parser)); - if (count($errors) == 0) { + if (count($errors) === 0) { return 0; } $output = Error::format($errors); |