Skip to content

[12.x] Ensure Session now() and flash() accept enums#58459

Merged
taylorotwell merged 3 commits intolaravel:12.xfrom
jackbayliss:12.x-session-enums
Jan 22, 2026
Merged

[12.x] Ensure Session now() and flash() accept enums#58459
taylorotwell merged 3 commits intolaravel:12.xfrom
jackbayliss:12.x-session-enums

Conversation

@jackbayliss
Copy link
Contributor

@jackbayliss jackbayliss commented Jan 22, 2026

Hi Big T,

Noticed these were outliers and didn't support enums.. so with this we can now sleep easy.

Imported the enums due to flash being typed

Tests added.

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@jackbayliss
Copy link
Contributor Author

Static analysis failing - as per main, but good for review.

@jackbayliss jackbayliss marked this pull request as ready for review January 22, 2026 09:48
@taylorotwell taylorotwell merged commit 92aa742 into laravel:12.x Jan 22, 2026
70 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants