dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Don't fallback from uk to ru"
[lhc/web/wiklou.git]
/
includes
/
profiler
/
SectionProfiler.php
diff --git
a/includes/profiler/SectionProfiler.php
b/includes/profiler/SectionProfiler.php
index
65ac6e6
..
7e3c398
100644
(file)
--- a/
includes/profiler/SectionProfiler.php
+++ b/
includes/profiler/SectionProfiler.php
@@
-21,6
+21,7
@@
* @ingroup Profiler
* @author Aaron Schulz
*/
* @ingroup Profiler
* @author Aaron Schulz
*/
+use Wikimedia\ScopedCallback;
/**
* Custom PHP profiler for parser/DB type section names that xhprof/xdebug can't handle
/**
* Custom PHP profiler for parser/DB type section names that xhprof/xdebug can't handle
@@
-57,7
+58,7
@@
class SectionProfiler {
/**
* @param string $section
/**
* @param string $section
- * @return S
coped
Callback
+ * @return S
ectionProfile
Callback
*/
public function scopedProfileIn( $section ) {
$this->profileInInternal( $section );
*/
public function scopedProfileIn( $section ) {
$this->profileInInternal( $section );