From ebfdab9aeb37ede578f85ec471d43854d48d316c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=BCbner?= Date: Fri, 22 Feb 2019 21:00:18 +0100 Subject: [PATCH] [BUGFIX] make bundle compatible to http-kernel 4.2 --- DataCollector/VCRDataCollector.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DataCollector/VCRDataCollector.php b/DataCollector/VCRDataCollector.php index 743a28f..34074c6 100644 --- a/DataCollector/VCRDataCollector.php +++ b/DataCollector/VCRDataCollector.php @@ -58,4 +58,11 @@ public function getName() { return 'vcr_collector'; } + + public function reset() + { + $this->data['requests'] = []; + $this->data['playbacks'] = []; + $this->data['count'] = 0; + } }