diff --git a/dgi_fixity.services.yml b/dgi_fixity.services.yml index 08375df..d99d361 100644 --- a/dgi_fixity.services.yml +++ b/dgi_fixity.services.yml @@ -1,7 +1,7 @@ services: dgi_fixity.fixity_check: class: Drupal\dgi_fixity\FixityCheckService - arguments: ['@string_translation', '@config.factory', '@entity_type.manager', '@datetime.time', '@filehash', '@logger.channel.dgi_fixity'] + arguments: ['@string_translation', '@config.factory', '@entity_type.manager', '@datetime.time', '@logger.channel.dgi_fixity', '@filehash'] dgi_fixity.route_subscriber: class: Drupal\dgi_fixity\Routing\FixityCheckRouteSubscriber arguments: ['@entity_type.manager', '@dgi_fixity.fixity_check'] diff --git a/src/FixityCheckService.php b/src/FixityCheckService.php index e56fda7..343d321 100644 --- a/src/FixityCheckService.php +++ b/src/FixityCheckService.php @@ -70,15 +70,15 @@ class FixityCheckService implements FixityCheckServiceInterface { ConfigFactoryInterface $config, EntityTypeManagerInterface $entity_type_manager, TimeInterface $time, - FileHash $filehash, LoggerInterface $logger, + FileHash $filehash, ) { $this->stringTranslation = $string_translation; $this->config = $config; $this->entityTypeManager = $entity_type_manager; $this->time = $time; - $this->filehash = $filehash; $this->logger = $logger; + $this->filehash = $filehash; } /**