@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * |
42 | 42 | * @param \Sabre\DAV\Server $server |
43 | 43 | * @param string $realm |
44 | - * @return bool |
|
44 | + * @return boolean|null |
|
45 | 45 | */ |
46 | 46 | function authenticate(\Sabre\DAV\Server $server, $realm) { |
47 | 47 | $userSession = \OC::$server->getUserSession(); |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * |
62 | 62 | * If nobody is currently logged in, this method should return null. |
63 | 63 | * |
64 | - * @return string|null |
|
64 | + * @return string |
|
65 | 65 | */ |
66 | 66 | function getCurrentUser() { |
67 | 67 | return $this->user; |
@@ -159,7 +159,7 @@ |
||
159 | 159 | * Checks whether the given path is a part file |
160 | 160 | * |
161 | 161 | * @param string $path Path that may identify a .part file |
162 | - * @return string File path without .part extension |
|
162 | + * @return boolean File path without .part extension |
|
163 | 163 | * @note this is needed for reusing keys |
164 | 164 | */ |
165 | 165 | private function isPartFile($path) { |