aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-09-18 20:24:07 +0200
committerGitHub <noreply@github.com>2024-09-18 20:24:07 +0200
commit342927b140d688cea75e297574684c0d0379bd5b (patch)
tree4c94b5493778b7666efb18b1fa577a8a5ebb2a49 /lib
parent989d708bd896d69575bf662cc2bd0b870d187a7c (diff)
parentb45f2420fef03774991c21eb3a6085d66723eb71 (diff)
downloadnextcloud-server-342927b140d688cea75e297574684c0d0379bd5b.tar.gz
nextcloud-server-342927b140d688cea75e297574684c0d0379bd5b.zip
Merge pull request #48182 from nextcloud/oracle-share-reminder
fix: fix share reminder job for oracle
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/SearchBuilder.php2
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Files/Cache/SearchBuilder.php b/lib/private/Files/Cache/SearchBuilder.php
index 748844b9e1b..41f942cab03 100644
--- a/lib/private/Files/Cache/SearchBuilder.php
+++ b/lib/private/Files/Cache/SearchBuilder.php
@@ -64,7 +64,7 @@ class SearchBuilder {
'owner' => 'string',
];
- /** @var array<string, int> */
+ /** @var array<string, int|string> */
protected static $paramTypeMap = [
'string' => IQueryBuilder::PARAM_STR,
'integer' => IQueryBuilder::PARAM_INT,
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index a965e0b5390..72b2ccbecff 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -10,6 +10,7 @@ namespace OCP\DB\QueryBuilder;
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;
@@ -28,7 +29,7 @@ interface IQueryBuilder {
/**
* @since 9.0.0
*/
- public const PARAM_BOOL = ParameterType::BOOLEAN;
+ public const PARAM_BOOL = Types::BOOLEAN;
/**
* @since 9.0.0
*/