magento-2-seo
magento-2-seo copied to clipboard
Replaced Laravel function `array_first` with vanilla php function `current`
Description (*)
If Laravel is not installed, the function array_first
does not exist and will cause Magento application to throw an exception. Replaced this function with vanilla php function current
.
Fixed Issues (if relevant)
- Fixes https://github.com/mageplaza/magento-2-seo/issues/125