Skip to content

Commit

Permalink
Merge pull request #1746 from tinect/feat/updateSabreDav
Browse files Browse the repository at this point in the history
fix: update sabre/dav to fix return type annotation
  • Loading branch information
frankdejonge authored Feb 4, 2024
2 parents 369ad84 + bdf06b5 commit de9f800
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion src/WebDAV/UrlPrefixingClientStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/WebDAV/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit de9f800

Please sign in to comment.