From: Aaron Schulz Date: Wed, 3 Dec 2014 23:31:17 +0000 (-0800) Subject: Removed useless "use" clause from closure X-Git-Tag: 1.31.0-rc.0~13099 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=cd9931fd65601f0b24126eff3857a27cd99cec8e;p=lhc%2Fweb%2Fwiklou.git Removed useless "use" clause from closure Change-Id: Ie2e0328548b185e77b919c0b8bd18a5005d94037 --- diff --git a/includes/profiler/ProfilerXhprof.php b/includes/profiler/ProfilerXhprof.php index 88196db130..d178ce6e50 100644 --- a/includes/profiler/ProfilerXhprof.php +++ b/includes/profiler/ProfilerXhprof.php @@ -130,7 +130,7 @@ class ProfilerXhprof extends Profiler { if ( $exists ) { xhprof_frame_begin( $section ); - return new ScopedCallback( function() use ( $section ) { + return new ScopedCallback( function() { xhprof_frame_end(); } ); }