Skip to content

Commit b044be5

Browse files
committed
Merge branch '2.3'
* 2.3: ErrorHandler and fixes fixed typo in CS translation (closes #8069) fix arab translation Removed reference to Symfony\Component\Form\Extension\Core\Type\FormType in form.xml slovenian validator translations updated [FrameworkBundle] set the dispatcher in the console application [Console] fix typehint for Application::setDispatcher [Finder] Fixed a path in a test. [Form] [Validator] Fixed post_max_size = 0 bug (Issue #8065)
2 parents 883831e + 36e2383 commit b044be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
use Symfony\Component\Console\Event\ConsoleCommandEvent;
3434
use Symfony\Component\Console\Event\ConsoleExceptionEvent;
3535
use Symfony\Component\Console\Event\ConsoleTerminateEvent;
36-
use Symfony\Component\EventDispatcher\EventDispatcher;
36+
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
3737

3838
/**
3939
* An Application is the container for a collection of commands.
@@ -88,7 +88,7 @@ public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
8888
}
8989
}
9090

91-
public function setDispatcher(EventDispatcher $dispatcher)
91+
public function setDispatcher(EventDispatcherInterface $dispatcher)
9292
{
9393
$this->dispatcher = $dispatcher;
9494
}

0 commit comments

Comments
 (0)