Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The WPCS `AbstractArrayAssignmentRestrictionsSniff` expects an array from `getGroups()` which includes a `'message'` key. The `callback()` method subsequently allows to override that message with a higher priority message if needed in specific circumstances. This sniff, however, doesn't need to override the message, so the `callback()` method can just use the default behaviour of returning `true` or `false` and use the `'message'` as declared in the group.
- Loading branch information