From 093b504f7158d43c40735d41de12aacfc701e218 Mon Sep 17 00:00:00 2001 From: prolic Date: Sat, 30 Jun 2018 01:24:57 +0800 Subject: [PATCH] minor fix --- src/QueryError.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }