Skip to content

Conversation

@matthiasweiss
Copy link
Contributor

When looking over this hook, the line that returns the upper case initials was a lot to parse at once, even though I knew what is going on.

What do you think of extracting two variables?

Copy link
Contributor

@tnylea tnylea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with this. It definitely makes it more readable.

Thanks.

@taylorotwell taylorotwell merged commit 18fe230 into laravel:main Feb 24, 2025
2 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.

3 participants