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/Components/Array2d.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/Components/Array2d.php')
-rw-r--r-- | src/Components/Array2d.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Array2d.php b/src/Components/Array2d.php index 92d8b16..984179c 100644 --- a/src/Components/Array2d.php +++ b/src/Components/Array2d.php @@ -82,7 +82,7 @@ class Array2d extends Component $arrCount = count($arr->values); if ($count === -1) { $count = $arrCount; - } elseif ($arrCount != $count) { + } elseif ($arrCount !== $count) { $parser->error( sprintf( Translator::gettext('%1$d values were expected, but found %2$d.'), |