1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/you-can-use-ternary-operators-like-to-use-dump-or-dd-in-your-short-closures.md
2021-11-05 17:12:37 +01:00

459 B

title tweet_id thread_slug author_username images created_at slug
You can use ternary operators like ?: to use dump() or dd() in your short closures 1456649618205261824 weekly-thread-2021-44 jessarchercodes
https://pbs.twimg.com/media/FDOw-QKUUAEbXLw.jpg
2021-11-05T15:48:26+00:00 you-can-use-ternary-operators-like-to-use-dump-or-dd-in-your-short-closures

Do you hate re-writing short closures just to add temporary debugging code?