-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Problem with PHP 7.4 #39
Comments
Hi @maiskiykot, Can you show us the snippet where you call the add method? |
use OfflineAgency\LaravelCart\Cart; class CartController... public function addcart(Request $request, $id){
|
It works if PHP 7.2 I corrrected your class Cart
|
Hello!
I have error "Too few arguments to function OfflineAgency\LaravelCart\Cart::add(), 1 passed in..." after migration to PHP 7.4. All arguments transfers to function add(). How I can fix it?
The text was updated successfully, but these errors were encountered: