alaouy / YouTube

🔥 Laravel PHP Facade/Wrapper for the Youtube Data API
MIT License
778 stars 204 forks source link

Change $optionalParams - boolean to array #136

Closed lucaspanik closed 4 years ago

lucaspanik commented 4 years ago

Change the value of $optionalParams that was boolean by default to array as default.

To execute array_merge the parameters must be array.

NOTE: It is not necessary to check if $optionalParams is empty, as PHP already performs these internal tests.

alaouy commented 4 years ago

@lucaspanik Thank you