@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Irazasyed\VideoDownloader; |
4 | 4 | |
5 | +use Irazasyed\VideoDownloader\Exceptions\VideoDownloaderException; |
|
5 | 6 | use Irazasyed\VideoDownloader\Providers\Facebook; |
6 | 7 | use Irazasyed\VideoDownloader\Providers\ProviderInterface; |
7 | -use Irazasyed\VideoDownloader\Exceptions\VideoDownloaderException; |
|
8 | 8 | |
9 | 9 | class Factory |
10 | 10 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * Get Page Source Code. |
93 | 93 | * |
94 | - * @param $url |
|
94 | + * @param string $url |
|
95 | 95 | * |
96 | 96 | * @throws VideoDownloaderException |
97 | 97 | */ |
@@ -200,9 +200,9 @@ discard block |
||
200 | 200 | /** |
201 | 201 | * Decode Unicode Sequences |
202 | 202 | * |
203 | - * @param $str |
|
203 | + * @param string $str |
|
204 | 204 | * |
205 | - * @return mixed |
|
205 | + * @return string |
|
206 | 206 | */ |
207 | 207 | protected function decodeUnicode($str) |
208 | 208 | { |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | /** |
229 | 229 | * @param $uni |
230 | 230 | * |
231 | - * @return bool|mixed|string |
|
231 | + * @return string |
|
232 | 232 | */ |
233 | 233 | protected function replace_unicode_escape_sequence($uni) |
234 | 234 | { |
@@ -3,10 +3,10 @@ |
||
3 | 3 | namespace Irazasyed\VideoDownloader\Providers; |
4 | 4 | |
5 | 5 | use GuzzleHttp\Client; |
6 | +use GuzzleHttp\Exception\RequestException; |
|
6 | 7 | use GuzzleHttp\Promise; |
7 | -use GuzzleHttp\RequestOptions; |
|
8 | 8 | use GuzzleHttp\Promise\PromiseInterface; |
9 | -use GuzzleHttp\Exception\RequestException; |
|
9 | +use GuzzleHttp\RequestOptions; |
|
10 | 10 | use Irazasyed\VideoDownloader\Exceptions\VideoDownloaderException; |
11 | 11 | |
12 | 12 | /** |