| @@ -192,7 +192,7 @@ | ||
| 192 | 192 | |
| 193 | 193 | /** | 
| 194 | 194 | * @param string|null $haystack | 
| 195 | - * @param string|array $needles | |
| 195 | + * @param string $needles | |
| 196 | 196 | * | 
| 197 | 197 | * @return bool | 
| 198 | 198 | */ | 
| @@ -3,16 +3,16 @@ | ||
| 3 | 3 | namespace Spatie\Crawler; | 
| 4 | 4 | |
| 5 | 5 | use Generator; | 
| 6 | -use GuzzleHttp\Pool; | |
| 7 | 6 | use GuzzleHttp\Client; | 
| 7 | +use GuzzleHttp\Exception\RequestException; | |
| 8 | +use GuzzleHttp\Pool; | |
| 8 | 9 | use GuzzleHttp\Psr7\Request; | 
| 9 | 10 | use GuzzleHttp\RequestOptions; | 
| 10 | 11 | use Illuminate\Support\Collection; | 
| 11 | -use Spatie\Browsershot\Browsershot; | |
| 12 | -use Symfony\Component\DomCrawler\Link; | |
| 13 | 12 | use Psr\Http\Message\ResponseInterface; | 
| 14 | -use GuzzleHttp\Exception\RequestException; | |
| 13 | +use Spatie\Browsershot\Browsershot; | |
| 15 | 14 | use Symfony\Component\DomCrawler\Crawler as DomCrawler; | 
| 15 | +use Symfony\Component\DomCrawler\Link; | |
| 16 | 16 | |
| 17 | 17 | class Crawler | 
| 18 | 18 |  { |