fixing reset()

这个提交包含在:
Philipp Holzer 2019-02-17 10:34:48 +01:00
父节点 a043848904
当前提交 c36a0eabdb
找不到此签名对应的密钥
GPG 密钥 ID: 517BE60E2CE5C8A5
共有 1 个文件被更改,包括 3 次插入11 次删除

查看文件

@ -84,19 +84,11 @@ class Profiler implements ContainerInterface
/**
* Resets the performance and callstack profiling
*
* @param bool $performance If true, reset the performance (Default true)
* @param bool $callstack If true, reset the callstack (Default true)
*/
public function reset($performance = true, $callstack = true)
public function reset()
{
if ($performance) {
$this->resetPerformance();
}
if ($callstack) {
$this->resetCallstack();
}
$this->resetPerformance();
$this->resetCallstack();
}
/**