X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fprofiler%2FSectionProfiler.php;h=7e3c398bb05c2ec40431d20647ca65aa03206786;hp=65ac6e61410f706c2d71a36a5e5938bc646bec98;hb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;hpb=7abf23c194b6fc87bcb3da2453747638cbea64c5 diff --git a/includes/profiler/SectionProfiler.php b/includes/profiler/SectionProfiler.php index 65ac6e6141..7e3c398bb0 100644 --- a/includes/profiler/SectionProfiler.php +++ b/includes/profiler/SectionProfiler.php @@ -21,6 +21,7 @@ * @ingroup Profiler * @author Aaron Schulz */ +use Wikimedia\ScopedCallback; /** * Custom PHP profiler for parser/DB type section names that xhprof/xdebug can't handle @@ -57,7 +58,7 @@ class SectionProfiler { /** * @param string $section - * @return ScopedCallback + * @return SectionProfileCallback */ public function scopedProfileIn( $section ) { $this->profileInInternal( $section );