Skip to content

[13.x] Ensure connectUsing works with UnitEnum / FileManager drive docblock#59306

Merged
taylorotwell merged 2 commits intolaravel:13.xfrom
jackbayliss:13.x-fix-unit-enum-connectusing-drive
Mar 21, 2026
Merged

[13.x] Ensure connectUsing works with UnitEnum / FileManager drive docblock#59306
taylorotwell merged 2 commits intolaravel:13.xfrom
jackbayliss:13.x-fix-unit-enum-connectusing-drive

Conversation

@jackbayliss
Copy link
Contributor

@jackbayliss jackbayliss commented Mar 21, 2026

connectUsing declares a UnitEnum in the docblock, but it wasn't typed and the enum_value usage inside was all squiffy so this PR fixes that.

Also added docblock for drive, as it aliases disk which accepts a unit enum. Buy one get one free.

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PRs 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 jackbayliss changed the title [13.x] Ensure connectUsing works with UnitEnum & drive docblock [13.x] Ensure connectUsing works with UnitEnum / FileManager drive docblock Mar 21, 2026
@jackbayliss jackbayliss marked this pull request as ready for review March 21, 2026 00:29
@taylorotwell taylorotwell merged commit 8d7d4d3 into laravel:13.x Mar 21, 2026
52 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