Skip to content

Commit

Permalink
fix Symfony 4 compatibility (see issue #310) (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville authored Dec 13, 2021
1 parent ab29398 commit b110f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Application/Event/Dispatcher/EventDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function __construct(
/**
* {@inheritDoc}
*/
public function dispatch(object $event, string $eventName = null): object
public function dispatch($event, string $eventName = null): object
{
$triggered = false;
foreach ($this->extensionLoader->getNames() as $extensionName) {
Expand Down
2 changes: 1 addition & 1 deletion src/Presentation/Console/Style.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class Style extends SymfonyStyle implements StyleInterface
/**
* {@inheritDoc}
*/
public function createProgressBar(int $max = 0)
public function createProgressBar($max = 0)
{
$progressBar = parent::createProgressBar($max);

Expand Down

0 comments on commit b110f1e

Please sign in to comment.