Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constructor error for Model class AdminSample.php #6

Open
VivekShingala opened this issue Feb 15, 2017 · 0 comments
Open

Constructor error for Model class AdminSample.php #6

VivekShingala opened this issue Feb 15, 2017 · 0 comments

Comments

@VivekShingala
Copy link

I am getting an error for constructor parameter (ConfigHelper) of Model class AdminSample.php. I am getting below error.

Warning: Declaration of Tym17\AdminSample\Model\AdminSample::_construct(Tym17\AdminSample\Helper\ConfigHelper $config) should be compatible with Magento\Framework\Model\AbstractModel::_construct() in D:\xampp\htdocs\magento2\app\code\Tym17\AdminSample\Model\AdminSample.php on line 9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants