fixing reset()

Esse commit está contido em:
Philipp Holzer 2019-02-17 10:34:48 +01:00
commit c36a0eabdb
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 517BE60E2CE5C8A5
1 arquivos alterados com 3 adições e 11 exclusões

Ver arquivo

@ -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();
}
/**