]> source.dussan.org Git - nextcloud-server.git/commit
prefer scalar type hints over phpdoc annotation
authorBernhard Posselt <dev@bernhard-posselt.com>
Thu, 2 Jul 2015 09:54:17 +0000 (11:54 +0200)
committerRoeland Jago Douma <rullzer@owncloud.com>
Thu, 24 Dec 2015 08:20:26 +0000 (09:20 +0100)
commit23c754aed3bfa5c795a03e63183158d028a6a408
treec35d37f023edee6fa4784929b85fd88b8bd8676d
parent9cdc3f0558b8c278e91037c2330b876da7ca99e2
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
lib/private/appframework/utility/controllermethodreflector.php
tests/lib/appframework/utility/ControllerMethodReflectorTest.php