Skip to content

Make the Attributes parameter have a default param #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

RedLucas
Copy link

I ran into an issue with this because it was expecting a third parameter, which isn't necessarily necessary.

I ran into an issue with this because it was expecting a third parameter, which isn't necessarily necessary.
@waako
Copy link

waako commented Mar 19, 2018

what we use instead of NULL is just an empty array = []

@RedLucas
Copy link
Author

You're absolutely right, an empty array would definitely be a better option. I updated the PR.

@waako
Copy link

waako commented Mar 19, 2018

Glad that was helpful 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants