dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a3275
)
Fix IDEA warnings in Xhprof class
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 8 Jul 2019 21:54:27 +0000
(14:54 -0700)
committer
Krinkle
<krinklemail@gmail.com>
Mon, 8 Jul 2019 22:31:07 +0000
(22:31 +0000)
Change-Id: Ie4bb1792e45380240f2507e3aca25dc94b78f57e
includes/libs/Xhprof.php
patch
|
blob
|
history
diff --git
a/includes/libs/Xhprof.php
b/includes/libs/Xhprof.php
index
8175427
..
a1ddfd0
100644
(file)
--- 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 = [] ) {