Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function getSolutionDescription(): string |
||
24 | { |
||
25 | $output = [ |
||
26 | 'You might be missing a composer dependency.', |
||
27 | 'A possible package that was found is `'.$this->possiblePackage->name.'`.', |
||
28 | '', |
||
29 | 'See if this is the package that you need and install it via `composer require '.$this->possiblePackage->name.'`.', |
||
30 | ]; |
||
31 | |||
32 | return implode(PHP_EOL, $output); |
||
33 | } |
||
34 | |||
43 |
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..