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

Refactor from switch statement to match statement for dropdown blade component #1509

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

phingoc1
Copy link
Contributor

@phingoc1 phingoc1 commented Jul 2, 2024

Refactored the switch statements to match statements in dropdown blade component (livewire stack) to make it slimmer and more readable.

I have removed default value from the $alignmentClasses match statement since all usage of this component have align="right" out of the box.

Copy link

github-actions bot commented Jul 2, 2024

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.

@phingoc1 phingoc1 marked this pull request as ready for review July 2, 2024 19:29
@taylorotwell taylorotwell merged commit 121122c into laravel:5.x Jul 2, 2024
6 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