From 01e0ca7298809db83fde490bc9b962ddfaab6145 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 24 Sep 2025 18:21:49 -0400 Subject: [PATCH] chore: lint compliance :) Signed-off-by: Josh --- apps/dav/lib/Connector/Sabre/QuotaPlugin.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php index 8c066d7846a..753c000a07e 100644 --- a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php +++ b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php @@ -1,4 +1,5 @@ $v !== null); + ], fn ($v) => $v !== null); // Return the largest valid length, or null if none return !empty($lengths) ? max($lengths) : null; @@ -304,7 +305,7 @@ class QuotaPlugin extends \Sabre\DAV\ServerPlugin { * TODO: `false` can probably be dropped here, if not now when free_space is cleaned up. * * @param string $uri The resource URI whose free space is being queried. - * @return int|float|false The amount of free space in bytes, + * @return int|float|false The amount of free space in bytes, * @throws ServiceUnavailable If the underlying storage is not available. */ private function getFreeSpace(string $uri): int|float|false {