Skip to content

[12.x] Refactor: Structural improvement for clarity #6574

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

Merged
merged 2 commits into from
Mar 10, 2025

Conversation

AhmedAlaa4611
Copy link
Contributor

Improve Readability of stderr Log Channel Configuration

This PR updates the structure of the stderr logging channel configuration to place the handler option before its constructor parameters with.

Why?
Laravel's documentation states:

"Optionally, any constructor parameters the handler needs may be specified using the with configuration option."

Reordering these options makes it clearer that with provides parameters for handler, improving readability and maintainability.

@taylorotwell taylorotwell merged commit 3549033 into laravel:12.x Mar 10, 2025
4 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