Avoids "Argument 1 passed to Profiler::scopedProfileOut() must
be an instance of ScopedCallback, SectionProfileCallback given"
Change-Id: I92713de71df9722d8a5d7e5cd04460aff71cf096
abstract public function scopedProfileIn( $section );
/**
- * @param ScopedCallback $section
+ * @param SectionProfileCallback $section
*/
- public function scopedProfileOut( ScopedCallback &$section = null ) {
+ public function scopedProfileOut( SectionProfileCallback &$section = null ) {
$section = null;
}
/**
* @param string $section
- * @return ScopedCallback
+ * @return SectionProfileCallback
*/
public function scopedProfileIn( $section ) {
$this->profileInInternal( $section );