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 "Add CollationFa"
[lhc/web/wiklou.git]
/
includes
/
profiler
/
Profiler.php
diff --git
a/includes/profiler/Profiler.php
b/includes/profiler/Profiler.php
index
297dcb2
..
8b4f01a
100644
(file)
--- a/
includes/profiler/Profiler.php
+++ b/
includes/profiler/Profiler.php
@@
-21,6
+21,7
@@
* @ingroup Profiler
* @defgroup Profiler Profiler
*/
* @ingroup Profiler
* @defgroup Profiler Profiler
*/
+use Wikimedia\ScopedCallback;
/**
* Profiler base class that defines the interface and some trivial
/**
* Profiler base class that defines the interface and some trivial
@@
-162,9
+163,9
@@
abstract class Profiler {
abstract public function scopedProfileIn( $section );
/**
abstract public function scopedProfileIn( $section );
/**
- * @param S
coped
Callback $section
+ * @param S
ectionProfile
Callback $section
*/
*/
- public function scopedProfileOut( S
coped
Callback &$section = null ) {
+ public function scopedProfileOut( S
ectionProfile
Callback &$section = null ) {
$section = null;
}
$section = null;
}