@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * Download Lessons |
154 | 154 | * @param $diff |
155 | 155 | * @param $counter |
156 | - * @param $new_lessons |
|
156 | + * @param integer $new_lessons |
|
157 | 157 | */ |
158 | 158 | public function downloadLessons(&$diff, &$counter, $new_lessons) |
159 | 159 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | * Download Episodes |
178 | 178 | * @param $diff |
179 | 179 | * @param $counter |
180 | - * @param $new_episodes |
|
180 | + * @param integer $new_episodes |
|
181 | 181 | */ |
182 | 182 | public function downloadEpisodes(&$diff, &$counter, $new_episodes) |
183 | 183 | { |
@@ -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) |