1 | <?php |
||
9 | class Profile extends CrawlProfile |
||
10 | { |
||
11 | /** @var callable */ |
||
12 | protected $profile; |
||
13 | |||
14 | /** @var \Spatie\Robots\Robots */ |
||
15 | protected $robots; |
||
16 | |||
17 | public function __construct() |
||
21 | |||
22 | public function shouldCrawlCallback(callable $callback) |
||
26 | |||
27 | /* |
||
28 | * Determine if the given url should be crawled. |
||
29 | */ |
||
30 | public function shouldCrawl(UriInterface $url): bool |
||
36 | } |
||
37 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..