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

construct conflict between Entity class & CouponBundle's Model #3

Open
SafiYoussef opened this issue Jun 4, 2019 · 0 comments
Open

Comments

@SafiYoussef
Copy link

Hello @GCalmels, i hope you're doing good ;)

I have an issue that i would like to discuss with you.

I would like to fetch the list of valid coupons from the database using Doctrine, however i got the following error.

Compile Error: Declaration of Proxies\\__CG__\\App\\Entity\\Coupon::__construct($initializer = NULL, $cloner = NULL) must be compatible with Kinoba\\CouponBundle\\Model\\CouponInterface::__construct($amount = NULL, $code = NULL, $type = self::TYPE_FIXED, $maxNumber = 1, $expiredAt = NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant