We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Method equals() only check values from enumerations. Not check type of enumerations class.
Example error:
class CommandAction extends Enum { const EDIT = 'edit'; const CREATE = 'create'; const UPDATE = 'update'; const DELEGATE = 'delegate'; }
class QueryAction extends Enum { const VIEW = 'view'; }
class AccessRule extends Enum { const VIEW = 'view'; const EDIT = 'edit'; const CREATE = 'create'; const UPDATE = 'update'; const DELEGATE = 'delegate'; }
Expected
CommandAction::EDIT()->equals(AccessRule::EDIT()); // false
Actual
CommandAction::EDIT()->equals(AccessRule::EDIT()); // true
The text was updated successfully, but these errors were encountered:
Hey nice catch! I can't believe it's been under our nose for so long ^^
Sorry, something went wrong.
Fix in #48 and released
No branches or pull requests
Method equals() only check values from enumerations.
Not check type of enumerations class.
Example error:
Expected
Actual
The text was updated successfully, but these errors were encountered: