| 1 | <?php |
||
| 11 | abstract class BaseManager implements LoggerAwareInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var StakxLogger |
||
| 15 | */ |
||
| 16 | protected $output; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var Filesystem |
||
| 20 | */ |
||
| 21 | protected $fs; |
||
| 22 | |||
| 23 | 4 | public function __construct () |
|
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function setLogger(LoggerInterface $logger) |
||
| 35 | } |
Our type inference engine has found a suspicous assignment of a value to a property. This check raises an issue when a value that can be of a given class or a super-class is assigned to a property that is type hinted more strictly.
Either this assignment is in error or an instanceof check should be added for that assignment.