Deprecated Functionality: Optional parameter $components declared before required parameter $helper
Opened this issue · 0 comments
aholovan commented
Deprecated Functionality: Optional parameter $components declared before required parameter $helper is implicitly treated as a required parameter
Fix:
> public function __construct(
> ContextInterface $context,
> Data $helper,
> $components = [],
> array $data = [],
> ) {
> parent::__construct($context, $components, $data);
> $this->helper = $helper;
> }
>