Y
Hacker News
new
|
ask
|
show
|
jobs
by
qprofyeh
548 days ago
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.
2 comments
JonoBB
548 days ago
@type phpdocs are no longer required in almost all cases.
link
sshine
548 days 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.
link