Skip to content
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

Add backed enum for $abilities type #14726

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Conversation

emargareten
Copy link
Contributor

Description

Laravel v11.23 added BackedEnum support to Gate methods, this PR adds it to filament as well for consistency.

(I added the logic so as not to cause BC changes for pre v11.23 versions)

Visual changes

None

Functional changes

  • Code style has been fixed by running the composer cs command.
  • [n/a] Changes have been tested to not break existing functionality.
  • [n/a] Documentation is up-to-date.

@danharrin danharrin added the enhancement New feature or request label Nov 7, 2024
@danharrin danharrin added this to the v3 milestone Nov 7, 2024
@danharrin danharrin merged commit 62bd101 into filamentphp:3.x Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants