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:
Fabien Potencier 2016-03-12 18:42:35 +01:00
commit 97f2321697
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class Profiler
foreach ($this->collectors as $collector) {
$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)));
}