@@ -68,7 +68,7 @@ |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @return int |
|
| 71 | + * @return string |
|
| 72 | 72 | */ |
| 73 | 73 | static private function getRefreshInterval() { |
| 74 | 74 | //defaults to every hour |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | use OC\Files\Filesystem; |
| 26 | 26 | use OC\Files\View; |
| 27 | -use OC\Lock\MemcacheLockingProvider; |
|
| 28 | 27 | use OCP\Lock\ILockingProvider; |
| 29 | 28 | |
| 30 | 29 | class Locking extends TestCase { |
@@ -179,7 +179,7 @@ |
||
| 179 | 179 | * |
| 180 | 180 | * @param string $loginName |
| 181 | 181 | * @param string $password |
| 182 | - * @return mixed the User object on success, false otherwise |
|
| 182 | + * @return string|null the User object on success, false otherwise |
|
| 183 | 183 | */ |
| 184 | 184 | public function checkPassword($loginName, $password) { |
| 185 | 185 | $loginName = str_replace("\0", '', $loginName); |