Skip to content

Commit c652b1f

Browse files
committed
fix(dav): add types to DAV properties
Signed-off-by: Enrique Pérez Arnaud <enrique@cazalla.net>
1 parent 7794bd1 commit c652b1f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

lib/private/Files/Storage/DAV.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ class DAV extends Common {
9191
protected $password;
9292
/** @var string */
9393
protected $user;
94-
/** @var int|null */
95-
protected $authType;
94+
protected ?int $authType = null;
9695
/** @var string */
9796
protected $host;
9897
/** @var bool */
@@ -104,8 +103,8 @@ class DAV extends Common {
104103
protected $certPath;
105104
/** @var bool */
106105
protected $ready;
107-
/** @var string The resolved bearer token for AUTH_BEARER (access token or exchanged token) */
108-
protected $bearerToken;
106+
/** The resolved bearer token for AUTH_BEARER (access token or exchanged token) */
107+
protected string $bearerToken = '';
109108
/** @var Client */
110109
protected $client;
111110
/** @var ArrayCache */

0 commit comments

Comments
 (0)