| 1 | <?php |
||
| 20 | class AnalyzerFactory { |
||
| 21 | /** |
||
| 22 | * @var Log |
||
| 23 | */ |
||
| 24 | protected $log; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var ReportGenerator |
||
| 28 | */ |
||
| 29 | protected $generator; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var Ruleset |
||
| 33 | */ |
||
| 34 | protected $ruleset; |
||
| 35 | |||
| 36 | 1 | public function __construct |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @param RuleSet $ruleset |
||
| 48 | * @param Query $query |
||
| 49 | * @return Analyzer |
||
| 50 | */ |
||
| 51 | public function build(Query $query) { |
||
| 54 | } |
||
| 55 |
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..