Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
qprofyeh
· 1y ago · 0 comments
Is this still a discussion in 2023? I remember writing phpdoc @type hints in 2013, as that was the de facto way to have intelligent autocompletion in editors back then.
Comments
[–]
JonoBB
1y ago
@type phpdocs are no longer required in almost all cases.
[–]
sshine
1y ago
Since PHP’s types are monkey-patched on top, the type hints are indeed quite necessary for proper IDE hints, especially when it comes to arrays.