Compilation error on Magento 2.2
Closed this issue · 4 comments
peterjaap commented
Preconditions
- Magento 2.2
- Latest version of this module
Steps to reproduce
php bin/magento setup:di:compile
in production mode
Expected result
- It should compile
Actual result
- This;
Interception cache generation... 6/7 [========================>---] 85% 43 secs 248.0 MiBErrors during compilation:
MSP\TwoFactorAuth\Ui\Component\Form\User\DataProvider
Incompatible argument type: Required type: string. Actual type: \MSP\TwoFactorAuth\Ui\Component\Form\User\name; File:
/builds/clientname/clientname/vendor/msp/twofactorauth/Ui/Component/Form/User/DataProvider.php
phoenix128 commented
Hello @peterjaap ,
thank you for reporting this issue. We are a t work to fix it asap.
phoenix128 commented
Hello @peterjaap ,
please upgrade to 2.0.13 . This has been fixed.
peterjaap commented
Great quick response, thanks!!
dzima-chyzhou commented
The same error appears on Magento 2.2.3 if you do not specify in phpDoc arguments type in Custom Data Provider.