- Issue created by @alex9000
- 🇮🇳India arunsahijpal
Hi @alex9000,
This warning is due to the dynamic property $moduleHandler being assigned directly in the constructor of LinkCheckerAdminSettingsForm.
So we require a docblock comment in order to remove the warning.I see that that docblock is present in 2.0.x and 2.1.x but it is not present when you do
composer require 'drupal/linkchecker:^2.0'
so you can use these versions instead or you can explicitly write this docblock./** * ModuleHandler service. * * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler;
@vladimiraus please check this.
Thanks,
Arun