@@ -50,7 +50,7 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * @NoAdminRequired |
| 52 | 52 | * |
| 53 | - * @param $url |
|
| 53 | + * @param string $url |
|
| 54 | 54 | * @return StreamResponse|JSONResponse |
| 55 | 55 | */ |
| 56 | 56 | public function proxy($url) { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use GuzzleHttp\Exception\ClientException; |
| 25 | 25 | use OCA\Calendar\Http\StreamResponse; |
| 26 | 26 | use OCP\AppFramework\Http\JSONResponse; |
| 27 | - |
|
| 28 | 27 | use OCP\AppFramework\Controller; |
| 29 | 28 | use OCP\Http\Client\IClientService; |
| 30 | 29 | use OCP\IRequest; |
@@ -118,8 +118,8 @@ |
||
| 118 | 118 | /** |
| 119 | 119 | * @NoAdminRequired |
| 120 | 120 | * |
| 121 | - * @param $region |
|
| 122 | - * @param $city |
|
| 121 | + * @param string $region |
|
| 122 | + * @param string $city |
|
| 123 | 123 | * @return DataDisplayResponse |
| 124 | 124 | */ |
| 125 | 125 | 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\NotFoundResponse; |