minor #18117 Profiler typo fix (Enleur)
This PR was merged into the 2.3 branch.
Discussion
----------
Profiler typo fix
| Q | A
| ------------- | ---
| Branch | 2.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #18088
| License | MIT
| Doc PR | n/a
Commits
-------
44398fc
minor #18088 Fix typo for profiler
This commit is contained in:
commit
97f2321697
@ -200,7 +200,7 @@ class Profiler
|
|||||||
foreach ($this->collectors as $collector) {
|
foreach ($this->collectors as $collector) {
|
||||||
$collector->collect($request, $response, $exception);
|
$collector->collect($request, $response, $exception);
|
||||||
|
|
||||||
// forces collectors to become "read/only" (they loose their object dependencies)
|
// forces collectors to become "read/only" (they lose their object dependencies)
|
||||||
$profile->addCollector(unserialize(serialize($collector)));
|
$profile->addCollector(unserialize(serialize($collector)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user