minor #10601 [HttpKernel] HttpCache typo (jakzal)

This PR was merged into the 2.3 branch.

Discussion
----------

[HttpKernel] HttpCache typo

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes - HttpKernel ones
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

8882dad Remove an unused argument.
This commit is contained in:
Fabien Potencier 2014-04-01 08:01:53 +02:00
commit 8aa194c0a6
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
protected function lock(Request $request, Response $entry)
{
// try to acquire a lock to call the backend
$lock = $this->store->lock($request, $entry);
$lock = $this->store->lock($request);
// there is already another process calling the backend
if (true !== $lock) {