ThreadSky
About ThreadSky
Log In
jclermont.com
•
63 days ago
Any time I can eliminate a docblock in my code, I go for it. Here's another relatively new addition to Laravel that let me clean up a some docblocks in my form requests.
https://masteringlaravel.io/daily/2024-12-26-better-types-on-route-parameters
Comments
Log in
with your Bluesky account to leave a comment
[–]
benholmen.com
•
63 days ago
Oh I like this a lot! Thanks Joel!
1
reply
[–]
richperez.dev
•
62 days ago
This is interesting. It seems a little much but also helpful.
1
1
reply
[–]
jclermont.com
•
62 days ago
The attribute syntax does take some time to get used to, especially on a parameter.
1
reply
[–]
undoubted.bsky.social
•
63 days ago
I used to keep adding docblocks even if it was just about types, now I keep removing them. I love how PHP has grown with types.
2
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments