Fatal error: Uncaught ArgumentCountError: Too few arguments to function Main\Pharmacy\PharmacyAction::__construct(), 0 passed in /home/bitrix/www/vendor/zendframework/zend-expressive/src/MarshalMiddlewareTrait.php on line 145 and exactly 3 expected in /home/bitrix/www/local/src/modules/Main/Pharmacy/PharmacyAction.php:35
Stack trace:
#0 /home/bitrix/www/vendor/zendframework/zend-expressive/src/MarshalMiddlewareTrait.php(145): Main\Pharmacy\PharmacyAction->__construct()
#1 /home/bitrix/www/vendor/zendframework/zend-expressive/src/MarshalMiddlewareTrait.php(79): Zend\Expressive\Application->marshalInvokableMiddleware('Main\\Pharmacy\\P...', Object(Zend\Diactoros\Response))
#2 /home/bitrix/www/vendor/zendframework/zend-expressive/src/Application.php(318): Zend\Expressive\Application->prepareMiddleware('Main\\Pharmacy\\P...', Object(Zend\Expressive\Router\FastRouteRouter), Object(Zend\Diactoros\Response), Object(Zend\ServiceManager\ServiceManager))
#3 /home/bitrix/www/vendor/zendframework/zend-expressive/src/Application.php(1 in /home/bitrix/www/local/src/modules/Main/Pharmacy/PharmacyAction.php on line 35