prefer scalar type hints over phpdoc annotation
use method exists lookup to be safe and not break on old hhvm versions add test that checks if type hint is preferred over annotation
Please register or sign in to comment
use method exists lookup to be safe and not break on old hhvm versions add test that checks if type hint is preferred over annotation