Skip to content

Commit

Permalink
bug #5655 return void for reset() method in DataCollector (david pell…
Browse files Browse the repository at this point in the history
…etier-ulrich)

This PR was merged into the 4.x branch.

Discussion
----------

return void for reset() method in DataCollector

to fix depreciation message about reset method in DataCollector #5654

Commits
-------

f427c49 return void for reset() method
  • Loading branch information
javiereguiluz committed Mar 11, 2023
2 parents f8232fe + f427c49 commit 12fb30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Inspector/DataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(AdminContextProvider $adminContextProvider)
$this->adminContextProvider = $adminContextProvider;
}

public function reset()
public function reset(): void
{
$this->data = [];
}
Expand Down

0 comments on commit 12fb30d

Please sign in to comment.