aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-02-27 19:07:39 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2025-02-27 19:07:39 +0100
commitc82337f3b98b8ccf5b774c43213ae56b8d4bd920 (patch)
treecbf5f16f4e564d74ad5135d295680f8b37a35075 /apps/files_external
parent0be4239c41fec66735c9c9c9bc840ee6ab986992 (diff)
downloadnextcloud-server-chore/update-stub.tar.gz
nextcloud-server-chore/update-stub.zip
fix: incorrect types detected by updated stubschore/update-stub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Command/Notify.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php
index cd1889264b3..0982aa5598b 100644
--- a/apps/files_external/lib/Command/Notify.php
+++ b/apps/files_external/lib/Command/Notify.php
@@ -168,7 +168,7 @@ class Notify extends StorageAuthBase {
}
private function getStorageIds(int $mountId, string $path): array {
- $pathHash = md5(trim((string)\OC_Util::normalizeUnicode($path), '/'));
+ $pathHash = md5(trim(\OC_Util::normalizeUnicode($path), '/'));
$qb = $this->connection->getQueryBuilder();
return $qb
->select('storage_id', 'user_id')
@@ -181,7 +181,7 @@ class Notify extends StorageAuthBase {
}
private function updateParent(array $storageIds, string $parent): int {
- $pathHash = md5(trim((string)\OC_Util::normalizeUnicode($parent), '/'));
+ $pathHash = md5(trim(\OC_Util::normalizeUnicode($parent), '/'));
$qb = $this->connection->getQueryBuilder();
return $qb
->update('filecache')