Skip to content

Conversation

@browner12
Copy link
Contributor

removal of some simple temporary variables.

some of these were most likely originally written this way due to binding of $this prior to arrow functions.

the declared variable is only used once. inlining does not decrease readability.

my guess is it was originally written this way *before* we had arrow functions, and could inherit the outer `$this` scope.

also minor formatting update to use our new multiline chaining standard
also put each argument on separate line for multiline for better git diffs
a couple more real simple ones
@browner12
Copy link
Contributor Author

failure seems unrelated to changes. PHP setup was halted.

@taylorotwell taylorotwell merged commit a3b99f1 into laravel:11.x Dec 10, 2024
37 of 38 checks passed
@browner12 browner12 deleted the AB-remove-temporary-variables branch December 10, 2024 15:58
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