mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
⬆️ N°4770 Update to latest Symfony 3.4
This commit is contained in:
10
lib/symfony/cache/Adapter/TraceableAdapter.php
vendored
10
lib/symfony/cache/Adapter/TraceableAdapter.php
vendored
@@ -191,15 +191,11 @@ class TraceableAdapter implements AdapterInterface, PruneableInterface, Resettab
|
||||
*/
|
||||
public function reset()
|
||||
{
|
||||
if (!$this->pool instanceof ResettableInterface) {
|
||||
return;
|
||||
}
|
||||
$event = $this->start(__FUNCTION__);
|
||||
try {
|
||||
if ($this->pool instanceof ResettableInterface) {
|
||||
$this->pool->reset();
|
||||
} finally {
|
||||
$event->end = microtime(true);
|
||||
}
|
||||
|
||||
$this->clearCalls();
|
||||
}
|
||||
|
||||
public function getCalls()
|
||||
|
||||
Reference in New Issue
Block a user