Skip to content

Commit f699db1

Browse files
committed
[HttpKernel] Fix missing null type in ErrorListener::__construct()
1 parent 547340f commit f699db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventListener/ErrorListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ErrorListener implements EventSubscriberInterface
3535
protected $debug;
3636
protected $exceptionsMapping;
3737

38-
public function __construct(string|object|array $controller, LoggerInterface $logger = null, bool $debug = false, array $exceptionsMapping = [])
38+
public function __construct(string|object|array|null $controller, LoggerInterface $logger = null, bool $debug = false, array $exceptionsMapping = [])
3939
{
4040
$this->controller = $controller;
4141
$this->logger = $logger;

0 commit comments

Comments
 (0)