Menu

PHP Docblock return types

Published on August 24, 2015 and filed under Software engineering
Written
by Hannes Van De Vreken and will take

4 minutes

of your time.
In short
When I use my IDE and experiment with classes that I haven't used before, I really love that it tells me what kindof object a method returns to me. My IDE doesn't use Artificial Intelligence to know that, it reads the PHP docblocks.
Twitter logo

Want to see more articles like this in your inbox? You know what to do.

Related articles

Creating a Scientific Pitch Notation Type using template literal types

Creating a Scientific Pitch Notation Type using template literal types

Geoffrey Dhuyvetters

February 24, 2021

12 Factors in the era of containers

12 Factors in the era of containers

Tony Messias

January 29, 2021

Querying your Redux store with GraphQL

Querying your Redux store with GraphQL

Emma Fabre

December 21, 2020