diff --git a/src/QueryError.php b/src/QueryError.php index f3e2a4c..2e41739 100644 --- a/src/QueryError.php +++ b/src/QueryError.php @@ -21,7 +21,7 @@ class QueryError extends \Error public function __toString(): string { - if ($this->query == "") { + if ($this->query === "") { return parent::__toString(); }