During compilation (setup:di:compile) next error is displayed in console
`Compilation was started.
Interceptors generation... 4/9 [============>---------------] 44% 13 secs 396.0 MiBCall to undefined method ReflectionUnionType::getName()#0
vendor/magento/framework/Interception/Code/Generator/Interceptor.php(105): Magento\Framework\Interception\Code\Generator\Interceptor->getReturnTypeValue()
Issue appeared as
Marketplacer\SellerShipping\Controller\Adminhtml\Seller\UpdateSellerShipping::execute
should compatible with
Magento\Framework\App\ActionInterface::execute
š Bug Template
Preconditions:
Short & clear bug description:
During compilation (setup:di:compile) next error is displayed in console `Compilation was started. Interceptors generation... 4/9 [============>---------------] 44% 13 secs 396.0 MiBCall to undefined method ReflectionUnionType::getName()#0 vendor/magento/framework/Interception/Code/Generator/Interceptor.php(105): Magento\Framework\Interception\Code\Generator\Interceptor->getReturnTypeValue()
1 vendor/magento/framework/Interception/Code/Generator/Interceptor.php(76): Magento\Framework\Interception\Code\Generator\Interceptor->_getMethodInfo()
2 vendor/magento/framework/Code/Generator/EntityAbstract.php(228): Magento\Framework\Interception\Code\Generator\Interceptor->_getClassMethods()
3 vendor/magento/framework/Interception/Code/Generator/Interceptor.php(177): Magento\Framework\Code\Generator\EntityAbstract->_generateCode()`
Actual Result
Error is displayed in console.
Expected Result
No errors during compilation.