Skip to content

Commit

Permalink
Legacy service instantiator dynamic property (#5638)
Browse files Browse the repository at this point in the history
* Require stable DCG version

* Fix logger parameter in LegacyServiceInstantiator
  • Loading branch information
Chi-teck authored Jun 8, 2023
1 parent 5b843a8 commit bae8ab1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Runtime/LegacyServiceInstantiator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ class LegacyServiceInstantiator
protected array $instantiatedDrushServices = [];
protected array $tags = [];

public function __construct(protected ContainerInterface $container, LoggerInterface $logger)
public function __construct(protected ContainerInterface $container, protected LoggerInterface $logger)
{
$this->logger = $logger;
}

/**
Expand Down

0 comments on commit bae8ab1

Please sign in to comment.