Skip to content

Commit 17a923c

Browse files
committed
Fixed fatal error due to namespace collision
1 parent 47ee685 commit 17a923c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SymfonyCache/CacheEvent.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Symfony\Component\EventDispatcher\Event;
66
use Symfony\Component\HttpFoundation\Request;
77
use Symfony\Component\HttpFoundation\Response;
8-
use Symfony\Component\HttpKernel\HttpCache\HttpCache;
8+
use Symfony\Component\HttpKernel\HttpCache\HttpCache as BaseHttpCache;
99

1010
class CacheEvent extends Event
1111
{
@@ -25,10 +25,10 @@ class CacheEvent extends Event
2525
private $response;
2626

2727
/**
28-
* @param HttpCache $kernel The kernel raising with this event.
28+
* @param BaseHttpCache $kernel The kernel raising with this event.
2929
* @param Request $request The request being processed.
3030
*/
31-
public function __construct(HttpCache $kernel, Request $request)
31+
public function __construct(BaseHttpCache $kernel, Request $request)
3232
{
3333
$this->kernel = $kernel;
3434
$this->request = $request;

0 commit comments

Comments
 (0)