X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FXhprof.php;h=e58d98fcc3bf10d2d62aa4a983e83a49e9af52be;hb=f938f15bea1a27f098fc7a0f93673adba31d2efe;hp=016c9b1574fa91042cbdcba9e81bade9ce1e072b;hpb=2b7d97e6a49c46eeb0e1018dd51ae5e79b2f373e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/Xhprof.php b/includes/libs/Xhprof.php index 016c9b1574..e58d98fcc3 100644 --- a/includes/libs/Xhprof.php +++ b/includes/libs/Xhprof.php @@ -37,6 +37,7 @@ class Xhprof { /** * Start xhprof profiler + * @return bool */ public static function isEnabled() { return self::$enabled; @@ -44,6 +45,9 @@ class Xhprof { /** * Start xhprof profiler + * @param int $flags + * @param array $options + * @throws Exception */ public static function enable( $flags = 0, $options = [] ) { if ( self::isEnabled() ) {