diff --git a/apps/dav/lib/Connector/Sabre/QuirksPlugin.php b/apps/dav/lib/Connector/Sabre/QuirksPlugin.php index 5f546aa95729c..8a53a0eaffabd 100644 --- a/apps/dav/lib/Connector/Sabre/QuirksPlugin.php +++ b/apps/dav/lib/Connector/Sabre/QuirksPlugin.php @@ -29,18 +29,24 @@ class QuirksPlugin extends ServerPlugin { + /** @var bool */ private $isMacOSDavAgent = false; + /** @psalm-var array{major: string, minor: string, patch: string} */ private $macOSVersion; + /** @var string */ private $macOSAgent; + /** @psalm-var array{major: string, minor: null|string, patch: null|string} */ private $macOSAgentVersion; /** * Sets up the plugin. * * This method is automatically called by the server class. + * + * @return void */ public function initialize(Server $server) { @@ -50,6 +56,8 @@ public function initialize(Server $server) /** * Triggered before any method is handled. + * + * @return void */ public function beforeMethod(RequestInterface $request, ResponseInterface $response) { @@ -79,6 +87,8 @@ public function beforeMethod(RequestInterface $request, ResponseInterface $respo * @param string $reportName * @param mixed $report * @param mixed $path + * + * @return bool */ public function report($reportName, $report, $path) {