From 8eaa5df3713955444c9371eb7aa535b7e45438eb Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 23 Oct 2017 15:26:58 +0200 Subject: [PATCH] forward compatibility with Symfony 4.0 --- DataCollector/RedisDataCollector.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DataCollector/RedisDataCollector.php b/DataCollector/RedisDataCollector.php index 6296f11a..fb66b416 100644 --- a/DataCollector/RedisDataCollector.php +++ b/DataCollector/RedisDataCollector.php @@ -46,6 +46,14 @@ public function collect(Request $request, Response $response, \Exception $except ); } + /** + * {@inheritdoc} + */ + public function reset() + { + $this->data = array(); + } + /** * Returns an array of collected commands. *