1 | <?php |
||
23 | class Frontend |
||
24 | { |
||
25 | /** |
||
26 | * @var ParserInterface |
||
27 | */ |
||
28 | private $parser; |
||
29 | |||
30 | /** |
||
31 | * Frontend constructor. |
||
32 | */ |
||
33 | public function __construct() |
||
37 | |||
38 | /** |
||
39 | * @param Readable $schema |
||
40 | * @return RuleInterface |
||
41 | * @throws SyntaxException |
||
42 | * @throws InternalErrorException |
||
43 | */ |
||
44 | public function exec(Readable $schema): RuleInterface |
||
59 | } |
||
60 |
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..