Skip to content

Commit

Permalink
Psalm
Browse files Browse the repository at this point in the history
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
  • Loading branch information
rotdrop committed Feb 21, 2023
1 parent 99e2708 commit 505dde9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/dav/lib/Connector/Sabre/QuirksPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -50,6 +56,8 @@ public function initialize(Server $server)

/**
* Triggered before any method is handled.
*
* @return void
*/
public function beforeMethod(RequestInterface $request, ResponseInterface $response)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 505dde9

Please sign in to comment.