From: Aaron Schulz Date: Mon, 8 Jul 2019 21:54:27 +0000 (-0700) Subject: Fix IDEA warnings in Xhprof class X-Git-Tag: 1.34.0-rc.0~1131^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=9310c1e8029f6c1d81385e9df8947e5f1ef8d1fa;p=lhc%2Fweb%2Fwiklou.git Fix IDEA warnings in Xhprof class Change-Id: Ie4bb1792e45380240f2507e3aca25dc94b78f57e --- diff --git a/includes/libs/Xhprof.php b/includes/libs/Xhprof.php index 8175427d8d..a1ddfd0772 100644 --- a/includes/libs/Xhprof.php +++ b/includes/libs/Xhprof.php @@ -77,6 +77,8 @@ class Xhprof { 'tideways_disable', 'tideways_xhprof_disable' ] ); + } else { + return null; } } @@ -84,6 +86,7 @@ class Xhprof { * Call the first available function from $functions. * @param array $functions * @param array $args + * @return mixed * @throws Exception */ protected static function callAny( array $functions, array $args = [] ) {