| 1 | <?php |
||
| 14 | final class IsSafeHttpRoute implements IsSafeHttpRequestInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \string[] |
||
| 18 | */ |
||
| 19 | private $routes; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param \string[] ...$routes A list of routes (expressed as regular expressions) that are NOT checked for CSRF. |
||
| 23 | */ |
||
| 24 | public function __construct(string ...$routes) |
||
| 28 | |||
| 29 | public function __invoke(ServerRequestInterface $request) : bool |
||
| 40 | } |
||
| 41 |
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..