Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function __construct(ResponseInterface $response, bool $mustRespectRobots) |
||
21 | { |
||
22 | $this->robotsHeaders = RobotsHeaders::create($response->getHeaders()); |
||
|
|||
23 | |||
24 | $this->robotsMeta = RobotsMeta::create((string) $response->getBody()); |
||
25 | |||
26 | $this->mustRespectRobots = $mustRespectRobots; |
||
27 | } |
||
28 | |||
63 |
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..