diff --git a/src/Util/DcaHelper.php b/src/Util/DcaHelper.php index 5cfacfb..c904955 100644 --- a/src/Util/DcaHelper.php +++ b/src/Util/DcaHelper.php @@ -151,7 +151,7 @@ public static function testSQLType(array|string|null $sql, string $expectedType) } if ($regex = static::getSqlTypeRegex($expectedType)) { - return \preg_match($regex, $sql); + return (bool)\preg_match($regex, $sql); } return false;