@@ -109,8 +109,8 @@ |
||
109 | 109 | /** |
110 | 110 | * @NoAdminRequired |
111 | 111 | * |
112 | - * @param $region |
|
113 | - * @param $city |
|
112 | + * @param string $region |
|
113 | + * @param string $city |
|
114 | 114 | * @return DataDisplayResponse |
115 | 115 | */ |
116 | 116 | public function getTimezoneWithRegion($region, $city) { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | */ |
24 | 24 | namespace OCA\Calendar\Controller; |
25 | 25 | |
26 | -use OC\AppFramework\Http; |
|
27 | 26 | use OCP\AppFramework\Controller; |
28 | 27 | use OCP\AppFramework\Http\DataDisplayResponse; |
29 | 28 | use OCP\AppFramework\Http\JSONResponse; |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | |
89 | 89 | /** |
90 | 90 | * @param File $file |
91 | - * @param $icsurl |
|
91 | + * @param string $icsurl |
|
92 | 92 | * @return null|string |
93 | 93 | */ |
94 | 94 | private function fetchFile(File $file, $icsurl) { |
@@ -112,8 +112,8 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param $userId |
|
116 | - * @return IRootFolder |
|
115 | + * @param integer $userId |
|
116 | + * @return string |
|
117 | 117 | */ |
118 | 118 | private function getFolderForUser($userId) { |
119 | 119 | $path = '/' . $userId . '/files/CalendarSubscriptions'; |
@@ -23,7 +23,6 @@ |
||
23 | 23 | */ |
24 | 24 | namespace OCA\Calendar\Controller; |
25 | 25 | |
26 | -use OC\AppFramework\Http; |
|
27 | 26 | use OCP\AppFramework\Controller; |
28 | 27 | use OCP\AppFramework\Http\DataDisplayResponse; |
29 | 28 | use OCP\AppFramework\Http\JSONResponse; |