algoliasearch-magento-2 icon indicating copy to clipboard operation
algoliasearch-magento-2 copied to clipboard

[BUG] Fix for syntax error in construct

Open denisveg opened this issue 4 months ago • 2 comments

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

CleanShot 2024-02-22 at 12 45 54

Result This PR fixes the syntax error in the construct and make it backward-compatible.

denisveg avatar Feb 22 '24 12:02 denisveg