Remove deprecated profiling config parameters, clarify docs
[lhc/web/wiklou.git] / includes / profiler / Profiler.php
index 2be142f..e59b09e 100644 (file)
@@ -77,6 +77,7 @@ abstract class Profiler {
                                if ( PHP_SAPI === 'cli' || mt_rand( 0, $factor - 1 ) != 0 ) {
                                        $class = 'ProfilerStub';
                                }
+                               /** @var Profiler */
                                self::$__instance = new $class( $wgProfiler );
                        } else {
                                self::$__instance = new ProfilerStub( array() );