@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -22,14 +22,11 @@ |
||
22 | 22 | namespace OCA\DAV\Connector\Sabre; |
23 | 23 | |
24 | 24 | use Sabre\DAV\Exception\NotFound; |
25 | -use Sabre\DAV\IFile; |
|
26 | 25 | use Sabre\DAV\INode; |
27 | 26 | use \Sabre\DAV\PropFind; |
28 | 27 | use \Sabre\DAV\PropPatch; |
29 | -use Sabre\DAVACL\Exception\NeedPrivileges; |
|
30 | 28 | use \Sabre\HTTP\RequestInterface; |
31 | 29 | use \Sabre\HTTP\ResponseInterface; |
32 | -use Sabre\HTTP\URLUtil; |
|
33 | 30 | |
34 | 31 | /** |
35 | 32 | * Class DavAclPlugin is a wrapper around \Sabre\DAVACL\Plugin that returns 404 |
@@ -131,7 +131,7 @@ |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
134 | - * @param $message |
|
134 | + * @param string $message |
|
135 | 135 | * @param array $additional |
136 | 136 | * @return array |
137 | 137 | */ |
@@ -856,7 +856,7 @@ |
||
856 | 856 | * Get the certificate manager for the user |
857 | 857 | * |
858 | 858 | * @param string $userId (optional) if not specified the current loggedin user is used |
859 | - * @return \OCP\ICertificateManager | null if $uid is null and no user is logged in |
|
859 | + * @return null|CertificateManager | null if $uid is null and no user is logged in |
|
860 | 860 | */ |
861 | 861 | public function getCertificateManager($userId = null) { |
862 | 862 | if (is_null($userId)) { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * The deserialize method is called during xml parsing. |
61 | 61 | * |
62 | 62 | * @param Reader $reader |
63 | - * @return mixed |
|
63 | + * @return ShareTypeList |
|
64 | 64 | */ |
65 | 65 | static function xmlDeserialize(Reader $reader) { |
66 | 66 | $shareTypes = []; |
@@ -35,7 +35,6 @@ |
||
35 | 35 | use OCA\Files\Service\TagService; |
36 | 36 | use OCP\IPreview; |
37 | 37 | use OCP\Share\IManager; |
38 | -use OCP\Files\FileInfo; |
|
39 | 38 | use OCP\Files\Node; |
40 | 39 | use OCP\IUserSession; |
41 | 40 |
@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace OCA\Files\Service; |
26 | 26 | |
27 | -use OC\Files\FileInfo; |
|
28 | 27 | use OCP\Files\Node; |
29 | 28 | |
30 | 29 | /** |