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
Showing
- lib/private/appframework/utility/controllermethodreflector.php 12 additions, 10 deletions...rivate/appframework/utility/controllermethodreflector.php
- tests/lib/appframework/utility/ControllerMethodReflectorTest.php 19 additions, 0 deletions...ib/appframework/utility/ControllerMethodReflectorTest.php
Please register or sign in to comment