Spatie\Crawler\Crawler::startCrawling() accepts any instance of Psr\Http\Message\UriInterface.
When e.g. an instance of Spatie\Url\Url has been provided, everything goes well until Spatie\Crawler\Handlers\CrawlRequestFulfilled::getBaseUrl() fails to return an instance of GuzzleHttp\Psr7\Uri instead of the PSR interface. The code doesn't depend on the concrete Guzzle Uri however.
Spatie\Crawler\Crawler::startCrawling()
accepts any instance ofPsr\Http\Message\UriInterface
. When e.g. an instance ofSpatie\Url\Url
has been provided, everything goes well untilSpatie\Crawler\Handlers\CrawlRequestFulfilled::getBaseUrl()
fails to return an instance ofGuzzleHttp\Psr7\Uri
instead of the PSR interface. The code doesn't depend on the concrete GuzzleUri
however.