We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c45db commit 5666795Copy full SHA for 5666795
src/Codeception/Lib/Driver/Db.php
@@ -296,7 +296,7 @@ public function executeQuery($query, array $params): PDOStatement
296
$type = PDO::PARAM_BOOL;
297
} elseif (is_int($param)) {
298
$type = PDO::PARAM_INT;
299
- } elseif ($this->isBinary($param)) {
+ } elseif (is_string($param) && $this->isBinary($param)) {
300
$type = PDO::PARAM_LOB;
301
} else {
302
$type = PDO::PARAM_STR;
0 commit comments