From bdf06b5cbbab520188fe14b8e1935959276c3258 Mon Sep 17 00:00:00 2001 From: tinect Date: Sat, 3 Feb 2024 22:45:12 +0100 Subject: [PATCH] fix: update sabre/dav to fix return type annotation --- composer.json | 2 +- src/WebDAV/UrlPrefixingClientStub.php | 5 ++++- src/WebDAV/composer.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 1b9bfbb15..7bac714e9 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "google/cloud-storage": "^1.23", "async-aws/s3": "^1.5 || ^2.0", "async-aws/simple-s3": "^1.1 || ^2.0", - "sabre/dav": "^4.3.1" + "sabre/dav": "^4.6.0" }, "conflict": { "async-aws/core": "<1.19.0", diff --git a/src/WebDAV/UrlPrefixingClientStub.php b/src/WebDAV/UrlPrefixingClientStub.php index 970a45686..ffda84c4f 100644 --- a/src/WebDAV/UrlPrefixingClientStub.php +++ b/src/WebDAV/UrlPrefixingClientStub.php @@ -7,7 +7,10 @@ class UrlPrefixingClientStub extends Client { - public function propFind($url, array $properties, $depth = 0) + /** + * @param string $url + */ + public function propFind($url, array $properties, $depth = 0): array { $response = parent::propFind($url, $properties, $depth); diff --git a/src/WebDAV/composer.json b/src/WebDAV/composer.json index b1559eb80..da83b9397 100644 --- a/src/WebDAV/composer.json +++ b/src/WebDAV/composer.json @@ -10,7 +10,7 @@ "require": { "php": "^8.0.2", "league/flysystem": "^3.6.0", - "sabre/dav": "^4.3.1" + "sabre/dav": "^4.6.0" }, "license": "MIT", "authors": [