Signed-off-by: Joas Schilling <coding@schilljs.com>
'owner' => 'string',
];
- /** @var array<string, int> */
+ /** @var array<string, int|string> */
protected static $paramTypeMap = [
'string' => IQueryBuilder::PARAM_STR,
'integer' => IQueryBuilder::PARAM_INT,
use Doctrine\DBAL\ArrayParameterType;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\ParameterType;
+use Doctrine\DBAL\Types\Types;
use OCP\DB\Exception;
use OCP\DB\IResult;
use OCP\IDBConnection;
/**
* @since 9.0.0
*/
- public const PARAM_BOOL = ParameterType::BOOLEAN;
+ public const PARAM_BOOL = Types::BOOLEAN;
/**
* @since 9.0.0
*/