X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fprofiler%2FSectionProfiler.php;h=fdfb24d8c48a2262e74ae6a82ce7ec2e7a79343b;hp=65ac6e61410f706c2d71a36a5e5938bc646bec98;hb=203cedd029e42bd3c55e50a9cff6f14373d8aa67;hpb=5c1b3768ed022978edb038df14e0f15874eea7b4 diff --git a/includes/profiler/SectionProfiler.php b/includes/profiler/SectionProfiler.php index 65ac6e6141..fdfb24d8c4 100644 --- a/includes/profiler/SectionProfiler.php +++ b/includes/profiler/SectionProfiler.php @@ -19,8 +19,8 @@ * * @file * @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 +57,7 @@ class SectionProfiler { /** * @param string $section - * @return ScopedCallback + * @return SectionProfileCallback */ public function scopedProfileIn( $section ) { $this->profileInInternal( $section );