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 "xhprof: Guard against division by 0 when computing percentages"
[lhc/web/wiklou.git]
/
includes
/
profiler
/
SectionProfiler.php
diff --git
a/includes/profiler/SectionProfiler.php
b/includes/profiler/SectionProfiler.php
index
89eebbe
..
5591c99
100644
(file)
--- a/
includes/profiler/SectionProfiler.php
+++ b/
includes/profiler/SectionProfiler.php
@@
-59,7
+59,7
@@
class SectionProfiler {
$this->profileInInternal( $section );
$that = $this;
- return new ScopedCallback( function() use ( $that, $section ) {
+ return new ScopedCallback( function
() use ( $that, $section ) {
$that->profileOutInternal( $section );
} );
}