This repository has been archived by the owner on Aug 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
MembershipManager::getMemberships() and getMembership() don't document how to get all states #335
Labels
Comments
Revisiting this, it occurs to me that a new constant OgMembershipInterface::STATE_ANY would be clearer. |
|
Instead of a new string constant, how about defining an array constant
This would be clearer and easier to implement I think. It also has use cases wherever you need to consult or loop over the full list of states in code. |
Yeah, I like this STATES const better |
pfrenssen
added a commit
that referenced
this issue
Dec 11, 2018
pfrenssen
added a commit
that referenced
this issue
Dec 11, 2018
pfrenssen
added a commit
that referenced
this issue
Dec 11, 2018
pfrenssen
added a commit
that referenced
this issue
Dec 12, 2018
DiDebru
pushed a commit
to ueberbit/og
that referenced
this issue
Apr 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This doesn't tell me how to get all states.
Looking at the code, an empty array will do it.
The text was updated successfully, but these errors were encountered: