@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | |
195 | 195 | /** |
196 | 196 | * Helper function to get html of a page |
197 | - * @param $path |
|
197 | + * @param string $path |
|
198 | 198 | * @return string |
199 | 199 | */ |
200 | 200 | private function getPage($path) { |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | /** |
208 | 208 | * Helper to get the Location header. |
209 | 209 | * |
210 | - * @param $url |
|
210 | + * @param string $url |
|
211 | 211 | * |
212 | 212 | * @return string |
213 | 213 | */ |
@@ -225,9 +225,9 @@ discard block |
||
225 | 225 | /** |
226 | 226 | * Gets the name of the serie episode. |
227 | 227 | * |
228 | - * @param $html |
|
228 | + * @param string $html |
|
229 | 229 | * |
230 | - * @param $path |
|
230 | + * @param string $path |
|
231 | 231 | * @return string |
232 | 232 | */ |
233 | 233 | private function getNameOfEpisode($html, $path) |
@@ -240,8 +240,8 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * Helper to download the video. |
242 | 242 | * |
243 | - * @param $html |
|
244 | - * @param $saveTo |
|
243 | + * @param string $html |
|
244 | + * @param string $saveTo |
|
245 | 245 | * @return bool |
246 | 246 | */ |
247 | 247 | private function downloadLessonFromPath($html, $saveTo) |