-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
10.xrelated to TYPO3 v12related to TYPO3 v12
Description
Bug Report
Current Behavior
The class Classes/Domain/Model/Cart/BeVariant.php throws a PHP Runtime Deprecation Notice: Optional parameter $product declared before required parameter $price is implicitly treated as a required parameter in /var/www/vendor/extcode/cart/Clas
ses/Domain/Model/Cart/BeVariant.php line 46
Expected behavior/output
Run the extension without deprecation warnings.
Environment
- TYPO3 version(s): 12.4.26
- cart version: >=9.3.0
- Is your TYPO3 installation set up with Composer (Composer Mode): yes
- PHP: 8.3
Possible Solution
In this commit you changed the constructor parameters $productand $beVariant to be optional - maybe undo this?
Metadata
Metadata
Assignees
Labels
10.xrelated to TYPO3 v12related to TYPO3 v12