Skip to content

Commit

Permalink
Fix whitespace errors, reassing the whole data field on reset
Browse files Browse the repository at this point in the history
  • Loading branch information
fracz authored Jan 17, 2018
1 parent 048449f commit 475fc1b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/DataCollector/StatsdDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ public function __construct()
*/
public function reset()
{
$this->statsdClients = [];
$this->data['clients'] = [];
$this->data['operations'] = 0;
$this->statsdClients = [];
$this->data = [
'clients' => [],
'operations' => 0,
];
}

/**
* Kernel event
*
Expand Down

0 comments on commit 475fc1b

Please sign in to comment.