Skip to content

Commit 785fa91

Browse files
committed
minor #51203 [HttpKernel] Add reset() implementation in DataCollector (lyrixx)
This PR was merged into the 6.4 branch. Discussion ---------- [HttpKernel] Add `reset()` implementation in DataCollector | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | I reactored all collectors in the kernel. I also bumped requirements in the framework bundle, because it seems legit theses two parts move together. But I did not bumped requirements on other parts, I think it doesn't worth it. Commits ------- 8ffd27f792 [HttpKernel] Add `reset()` implementation in DataCollector
2 parents 450d459 + 214d120 commit 785fa91

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

DataCollector/AbstractDataCollector.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ public function getName(): string
2323
return static::class;
2424
}
2525

26-
public function reset(): void
27-
{
28-
$this->data = [];
29-
}
30-
3126
public static function getTemplate(): ?string
3227
{
3328
return null;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"symfony/deprecation-contracts": "^2.5|^3",
2626
"symfony/error-handler": "^6.1|^7.0",
2727
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
28-
"symfony/http-foundation": "^6.3|^7.0",
28+
"symfony/http-foundation": "^6.4|^7.0",
2929
"symfony/http-kernel": "^6.3|^7.0",
3030
"symfony/polyfill-mbstring": "~1.0",
3131
"symfony/filesystem": "^5.4|^6.0|^7.0",

0 commit comments

Comments
 (0)