DEV Community

Discussion on: Using isset() and empty() hurts your code

Collapse
 
emanuelvintila profile image
Emanuel Vintila

Use argument type hints and return type hints in every method and function you write.

100% agree with this statement. If you're not using type hints you're probably stuck in 2012.