mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
547 B
547 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Don't split lines at random places, but don't make them too long either | 1272822442990473216 | laravel-clean-code-tactics | samuelstancl |
|
2021-04-06T16:07:23+00:00 | dont-split-lines-at-random-places-but-dont-make-them-too-long-either |
Opening an array with [ and indenting the values tends to work well. Same with long function parameter values.
Other good places to split lines are chained calls and closures.