3 ms·
I guess you have not read the post you are commenting. One of the rationale behind union types is to reduce the doc-block comments. It is also, I believe, one o
by melicerte 7y ago
I guess you have not read the post you are commenting. One of the rationale behind union types is to reduce the doc-block comments. It is also, I believe, one of the idea of introducing a stronger type system in PHP.
From the original post:
[quote]
Supporting union types in the language allows us to move more type information from phpdoc into function signatures, ...
[/quote]