Closed davidmolinacano closed 5 months ago
This seems to be a problem with the static files, not with the dependency itself. Isn't it necessary that dependency anymore?
This seems to be a problem with the static files, not with the dependency itself. Isn't it necessary that dependency anymore?
As far as I've seen the parent::__construct()
does not need the Helper among their parameters. In fact, with PHP 8.2 event the PHP Lint is complaining about this without having to even launch the setup:di:compile:
Before:
After removing the helper:
I misinterpreted the situation, sorry. In that case, make sure to remove the dependency in this class's constructor to keep it a little bit cleaner
Required by:
In the image, the error is shown and then the result after applying this fix
Original parent constructor: