Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
remove check for CssSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Oct 26, 2015
1 parent aa6d2cd commit 5137ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Url/SitemapUrlProvider.php
Expand Up @@ -23,7 +23,7 @@ class SitemapUrlProvider implements UrlProvider
*/
public function __construct(array $hosts, HttpAdapter $httpAdapter, MessageFactory $messageFactory)
{
if (!class_exists('Symfony\\Component\\DomCrawler\\Crawler') || !class_exists('Symfony\\Component\\CssSelector\\CssSelector')) {
if (!class_exists('Symfony\\Component\\DomCrawler\\Crawler')) {
throw new \RuntimeException('symfony/dom-crawler and symfony/css-selector must be installed to use SitemapUrlProvider.');
}

Expand Down

0 comments on commit 5137ef9

Please sign in to comment.