| 1 | <?php | ||
| 31 | abstract class AbstractHook | ||
| 32 | { | ||
| 33 | /** | ||
| 34 | * @var Varnish | ||
| 35 | */ | ||
| 36 | protected $varnish; | ||
| 37 | |||
| 38 | /** | ||
| 39 | * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager | ||
| 40 | */ | ||
| 41 | protected $objectManager; | ||
| 42 | |||
| 43 | public function injectObjectManager(ObjectManagerInterface $objectManager): void | ||
| 47 | |||
| 48 | protected function getVarnish(): Varnish | ||
| 53 | |||
| 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..