mirror of
https://github.com/nextcloud/server.git
synced 2024-08-14 14:10:40 +02:00
fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
18d672c38f
commit
c4ed7f9d21
@ -27,6 +27,7 @@
|
||||
*/
|
||||
namespace OCP\DB\QueryBuilder;
|
||||
|
||||
use Doctrine\DBAL\ArrayParameterType;
|
||||
use Doctrine\DBAL\Connection;
|
||||
use Doctrine\DBAL\ParameterType;
|
||||
use OCP\DB\Exception;
|
||||
@ -72,11 +73,11 @@ interface IQueryBuilder {
|
||||
/**
|
||||
* @since 9.0.0
|
||||
*/
|
||||
public const PARAM_INT_ARRAY = Connection::PARAM_INT_ARRAY;
|
||||
public const PARAM_INT_ARRAY = ArrayParameterType::INTEGER;
|
||||
/**
|
||||
* @since 9.0.0
|
||||
*/
|
||||
public const PARAM_STR_ARRAY = Connection::PARAM_STR_ARRAY;
|
||||
public const PARAM_STR_ARRAY = ArrayParameterType::STRING;
|
||||
|
||||
/**
|
||||
* @since 24.0.0 Indicates how many rows can be deleted at once with MySQL
|
||||
|
Loading…
Reference in New Issue
Block a user