1 | <?php |
||
9 | class CrawlerRobots |
||
10 | { |
||
11 | /** @var \Spatie\Robots\RobotsHeaders */ |
||
12 | protected $robotsHeaders; |
||
13 | |||
14 | /** @var \Spatie\Robots\RobotsMeta */ |
||
15 | protected $robotsMeta; |
||
16 | |||
17 | /** @var bool */ |
||
18 | private $mustRespectRobots; |
||
19 | |||
20 | public function __construct(ResponseInterface $response, bool $mustRespectRobots) |
||
28 | |||
29 | public function mayIndex(): bool |
||
38 | |||
39 | public function mayFollow(): bool |
||
48 | } |
||
49 |
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..