Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Make the Attributes parameter have a default param#4

Open
RedLucas wants to merge 2 commits into
pattern-lab:masterfrom
RedLucas:patch-1
Open

Make the Attributes parameter have a default param#4
RedLucas wants to merge 2 commits into
pattern-lab:masterfrom
RedLucas:patch-1

Conversation

@RedLucas
Copy link
Copy Markdown

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
Copy Markdown

waako commented Mar 19, 2018

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

@RedLucas
Copy link
Copy Markdown
Author

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

@waako
Copy link
Copy Markdown

waako commented Mar 19, 2018

Glad that was helpful 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants