aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/DB/QueryBuilder/IQueryBuilder.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-06-01 07:55:37 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-06 15:29:24 +0200
commitc4ed7f9d21afefb670f95560c02d991f16b2366d (patch)
tree639a5f35ab21dc90e74eea89357ccebce0b279ad /lib/public/DB/QueryBuilder/IQueryBuilder.php
parent18d672c38fd6df8dfb41a670b119c11f298461b7 (diff)
downloadnextcloud-server-c4ed7f9d21afefb670f95560c02d991f16b2366d.tar.gz
nextcloud-server-c4ed7f9d21afefb670f95560c02d991f16b2366d.zip
fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/DB/QueryBuilder/IQueryBuilder.php')
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index 63fdfb65971..491ac6d8e2f 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -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