45

The Rocket Science Behind Migration of Docblock Types to PHP Typehints | Tomas V...

 5 years ago
source link: https://www.tomasvotruba.cz/blog/2018/12/10/rocket-science-behind-migration-of-docblock-types-to-php-typehints/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
What if you could add scalar typehints int, bool, string, null to all parameter type and return type by running a CLI command? But also all classes, parent, self and $this?Do you think it's an easy task to move @param int $number to (int $number)?

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK