| 1 | <?php |
||
| 20 | class AnalyzerFactory { |
||
| 21 | /** |
||
| 22 | * @var Log |
||
| 23 | */ |
||
| 24 | protected $log; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var Ruleset |
||
| 28 | */ |
||
| 29 | protected $ruleset; |
||
| 30 | |||
| 31 | 1 | public function __construct |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param Query $query |
||
| 41 | * @param ReportGenerator $report_generator |
||
| 42 | * @return Analyzer |
||
| 43 | */ |
||
| 44 | public function build(Query $query, ReportGenerator $report_generator) { |
||
| 47 | } |
||
| 48 |
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..