Skip to content

[11.x] minor readability#54117

Merged
taylorotwell merged 1 commit into
laravel:11.xfrom
browner12:AB-factory-readability
Jan 9, 2025
Merged

[11.x] minor readability#54117
taylorotwell merged 1 commit into
laravel:11.xfrom
browner12:AB-factory-readability

Conversation

@browner12

Copy link
Copy Markdown
Contributor
  • use arrow functions where readability is same or better, and reduces code duplication from use necessity
  • place methods on new line when chaining for better readability and better diffs in the future
  • inline temporary variables

- use arrow functions where readability is same or better, and reduces code duplication from `use` necessity
- place methods on new line when chaining for better readability and better diffs in the future
- inline temporary variables
@taylorotwell taylorotwell merged commit ce0c8c9 into laravel:11.x Jan 9, 2025
@browner12 browner12 deleted the AB-factory-readability branch January 9, 2025 20:35
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