markshust / magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.
MIT License
199 stars 41 forks source link

unexpected 'ScopeConfigInterface' #7

Closed orthener closed 3 years ago

orthener commented 3 years ago

se:di:compile returns error

PHP Parse error:  syntax error, unexpected 'ScopeConfigInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /vendor/markshust/magento2-module-disabletwofactorauth/Plugin/BypassTwoFactorAuth.php on line 18

Need remove "ScopeConfigInterface" from string private ScopeConfigInterface $scopeConfig;

cmacdonald-au commented 3 years ago

Dupe of #6

markshust commented 3 years ago

Thanks, closing this as a dupe