Browse Source

Back to the original order.

pull/24/head
Adam Vessey 7 months ago
parent
commit
16d1763358
No known key found for this signature in database
GPG Key ID: 89B39535BF6D0D39
  1. 2
      dgi_fixity.services.yml
  2. 4
      src/FixityCheckService.php

2
dgi_fixity.services.yml

@ -1,7 +1,7 @@
services: services:
dgi_fixity.fixity_check: dgi_fixity.fixity_check:
class: Drupal\dgi_fixity\FixityCheckService 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: dgi_fixity.route_subscriber:
class: Drupal\dgi_fixity\Routing\FixityCheckRouteSubscriber class: Drupal\dgi_fixity\Routing\FixityCheckRouteSubscriber
arguments: ['@entity_type.manager', '@dgi_fixity.fixity_check'] arguments: ['@entity_type.manager', '@dgi_fixity.fixity_check']

4
src/FixityCheckService.php

@ -70,15 +70,15 @@ class FixityCheckService implements FixityCheckServiceInterface {
ConfigFactoryInterface $config, ConfigFactoryInterface $config,
EntityTypeManagerInterface $entity_type_manager, EntityTypeManagerInterface $entity_type_manager,
TimeInterface $time, TimeInterface $time,
FileHash $filehash,
LoggerInterface $logger, LoggerInterface $logger,
FileHash $filehash,
) { ) {
$this->stringTranslation = $string_translation; $this->stringTranslation = $string_translation;
$this->config = $config; $this->config = $config;
$this->entityTypeManager = $entity_type_manager; $this->entityTypeManager = $entity_type_manager;
$this->time = $time; $this->time = $time;
$this->filehash = $filehash;
$this->logger = $logger; $this->logger = $logger;
$this->filehash = $filehash;
} }
/** /**

Loading…
Cancel
Save