Skip to content

Commit 787b36a

Browse files
francoispluchinoNyholm
authored andcommitted
Fix deprecated Symfony 3.4 Data Collector without reset method (#174)
1 parent 3fe5d35 commit 787b36a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

DataCollector/GeocoderDataCollector.php

+10
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ public function __construct()
3333
$this->data['providers'] = [];
3434
}
3535

36+
/**
37+
* {@inheritdoc}
38+
*/
39+
public function reset()
40+
{
41+
$this->instances = [];
42+
$this->data['queries'] = [];
43+
$this->data['providers'] = [];
44+
}
45+
3646
/**
3747
* {@inheritdoc}
3848
*/

0 commit comments

Comments
 (0)