X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fprofiler%2FProfilerSectionOnly.php;h=a7bc1375e9cc920a9fa8cb6ef89db8bd8d83de19;hp=0ce80876756cc1b440c48edda94c9f866e1063fe;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hpb=bdfe02223205923d923923dd420ba0dd863cd0fe diff --git a/includes/profiler/ProfilerSectionOnly.php b/includes/profiler/ProfilerSectionOnly.php index 0ce8087675..a7bc1375e9 100644 --- a/includes/profiler/ProfilerSectionOnly.php +++ b/includes/profiler/ProfilerSectionOnly.php @@ -22,12 +22,11 @@ * Profiler that only tracks explicit profiling sections * * @code - * $wgProfiler['class'] = 'ProfilerSectionOnly'; + * $wgProfiler['class'] = ProfilerSectionOnly::class; * $wgProfiler['output'] = 'text'; * $wgProfiler['visible'] = true; * @endcode * - * @author Aaron Schulz * @ingroup Profiler * @since 1.25 */ @@ -73,7 +72,7 @@ class ProfilerSectionOnly extends Profiler { */ protected function getFunctionReport() { $data = $this->getFunctionStats(); - usort( $data, function( $a, $b ) { + usort( $data, function ( $a, $b ) { if ( $a['real'] === $b['real'] ) { return 0; }