@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * This will be used in the {DAV:}supported-report-set property. |
149 | 149 | * |
150 | 150 | * @param string $uri |
151 | - * @return array |
|
151 | + * @return string[] |
|
152 | 152 | */ |
153 | 153 | public function getSupportedReportSet($uri) { |
154 | 154 | return [self::REPORT_NAME]; |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * @param string $reportName |
161 | 161 | * @param $report |
162 | 162 | * @param string $uri |
163 | - * @return bool |
|
163 | + * @return null|false |
|
164 | 164 | * @throws BadRequest |
165 | 165 | * @throws PreconditionFailed |
166 | 166 | * @internal param $ [] $report |
@@ -333,6 +333,7 @@ discard block |
||
333 | 333 | * with a leading slash but no trailing slash |
334 | 334 | * @param string[] $requestedProps requested properties |
335 | 335 | * @param Node[] nodes nodes for which to fetch and prepare responses |
336 | + * @param Node[] $nodes |
|
336 | 337 | * @return Response[] |
337 | 338 | */ |
338 | 339 | public function prepareResponses($filesUri, $requestedProps, $nodes) { |
@@ -22,7 +22,6 @@ |
||
22 | 22 | namespace OCA\Files_External\Lib\Backend; |
23 | 23 | |
24 | 24 | use OCP\IL10N; |
25 | -use OCP\Files\External\DefinitionParameter; |
|
26 | 25 | use OCP\Files\External\Auth\AuthMechanism; |
27 | 26 | use OCP\Files\External\Backend\Backend; |
28 | 27 | use OCA\Files_External\Lib\LegacyDependencyCheckPolyfill; |
@@ -23,7 +23,6 @@ |
||
23 | 23 | |
24 | 24 | |
25 | 25 | use OC\BackgroundJob\TimedJob; |
26 | -use OC\Installer; |
|
27 | 26 | use OC\Updater\VersionCheck; |
28 | 27 | use OCP\App\IAppManager; |
29 | 28 | use OCP\Http\Client\IClientService; |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * |
111 | 111 | * @param string $newPath |
112 | 112 | * @param \OCP\Share\IShare $share |
113 | - * @return bool |
|
113 | + * @return boolean|null |
|
114 | 114 | */ |
115 | 115 | private function updateFileTarget($newPath, &$share) { |
116 | 116 | $share->setTarget($newPath); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @param string $path |
127 | 127 | * @param View $view |
128 | 128 | * @param SharedMount[] $mountpoints |
129 | - * @return mixed |
|
129 | + * @return string |
|
130 | 130 | */ |
131 | 131 | private function generateUniqueTarget($path, $view, array $mountpoints) { |
132 | 132 | $pathinfo = pathinfo($path); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * Creates a Folder that represents a non-existing path |
33 | 33 | * |
34 | 34 | * @param string $path path |
35 | - * @return string non-existing node class |
|
35 | + * @return NonExistingFile non-existing node class |
|
36 | 36 | */ |
37 | 37 | protected function createNonExistingNode($path) { |
38 | 38 | return new NonExistingFile($this->root, $this->view, $path); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * Creates a Folder that represents a non-existing path |
35 | 35 | * |
36 | 36 | * @param string $path path |
37 | - * @return string non-existing node class |
|
37 | + * @return NonExistingFolder non-existing node class |
|
38 | 38 | */ |
39 | 39 | protected function createNonExistingNode($path) { |
40 | 40 | return new NonExistingFolder($this->root, $this->view, $path); |
@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * Returns an array with all the child nodes |
108 | 108 | * |
109 | - * @return \Sabre\DAV\INode[] |
|
109 | + * @return CommentNode[] |
|
110 | 110 | */ |
111 | 111 | function getChildren() { |
112 | 112 | return $this->findChildren(); |
@@ -39,7 +39,6 @@ discard block |
||
39 | 39 | use OCP\IGroupManager; |
40 | 40 | use OCP\Defaults; |
41 | 41 | use OCP\IURLGenerator; |
42 | - |
|
43 | 42 | use OC\Settings\Panels\Personal\Profile; |
44 | 43 | use OC\Settings\Panels\Personal\Legacy as LegacyPersonal; |
45 | 44 | use OC\Settings\Panels\Admin\Legacy as LegacyAdmin; |
@@ -54,7 +53,6 @@ discard block |
||
54 | 53 | use OC\Settings\Panels\Admin\Mail; |
55 | 54 | use OC\Settings\Panels\Admin\Logging; |
56 | 55 | use OC\Settings\Panels\Admin\SecurityWarning; |
57 | -use OC\Settings\Panels\Admin\Updater; |
|
58 | 56 | use OC\Settings\Panels\Admin\Tips; |
59 | 57 | |
60 | 58 | /* |
@@ -94,7 +94,7 @@ |
||
94 | 94 | /** |
95 | 95 | * returns a list of all possible property names |
96 | 96 | * |
97 | - * @return array |
|
97 | + * @return string[] |
|
98 | 98 | */ |
99 | 99 | static public function getPropertyNames() { |
100 | 100 | return [ |