algoliasearch-magento-2
algoliasearch-magento-2 copied to clipboard
[BUG] Fix for syntax error in construct
Summary The comma on the last item in the constructor is not allowed prior to PHP 8.0 and it's causing syntax issues. Check this for more information: https://php.watch/versions/8.0/trailing-comma-parameter-use-list
Result This PR fixes the syntax error in the construct and make it backward-compatible.