From 16d176335827f22cfc4df305c0b1d8090c2d14a6 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Fri, 21 Jun 2024 16:53:45 -0300 Subject: [PATCH] Back to the original order. --- dgi_fixity.services.yml | 2 +- src/FixityCheckService.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; } /**