| @@ -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; | 
| @@ -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; | 
| @@ -101,7 +101,7 @@ discard block | ||
| 101 | 101 | |
| 102 | 102 | /** | 
| 103 | 103 | * @param string $url | 
| 104 | - * @return boolean | |
| 104 | + * @return boolean|null | |
| 105 | 105 | * @throws \Exception | 
| 106 | 106 | */ | 
| 107 | 107 |  	private function checkHeaders($url) { | 
| @@ -122,7 +122,7 @@ discard block | ||
| 122 | 122 | |
| 123 | 123 | /** | 
| 124 | 124 | * @param File $file | 
| 125 | - * @param $icsurl | |
| 125 | + * @param string $icsurl | |
| 126 | 126 | * @return null|string | 
| 127 | 127 | */ | 
| 128 | 128 |  	private function fetchFile(File $file, $icsurl) { | 
| @@ -156,7 +156,7 @@ discard block | ||
| 156 | 156 | |
| 157 | 157 | /** | 
| 158 | 158 | * @param $userId | 
| 159 | - * @return IRootFolder | |
| 159 | + * @return string | |
| 160 | 160 | */ | 
| 161 | 161 |  	private function getFolder() { | 
| 162 | 162 | $path = '/CalendarSubscriptions'; |