| 1 | <?php |
||
| 9 | class TestQJService extends QueuedJobService implements TestOnly |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Not inherited from QueuedJobService unfortunately... |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $logger; |
||
| 16 | |||
| 17 | private static $dependencies = [ |
||
| 18 | 'queueHandler' => '%$QueueHandler' |
||
| 19 | ]; |
||
| 20 | |||
| 21 | public function testInit($descriptor) |
||
| 25 | |||
| 26 | public function getLogger() |
||
| 30 | } |
||
| 31 |
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..