@@ -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,10 +23,8 @@ |
||
| 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 | -use OCP\AppFramework\Http\JSONResponse; |
|
| 30 | 28 | use OCP\AppFramework\Http\NotFoundResponse; |
| 31 | 29 | use OCP\AppFramework\Http\TemplateResponse; |
| 32 | 30 | use OCP\IConfig; |