Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

fix: Interface instead of instance Class #167

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions modules/openy_gc_log/src/LogArchiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Drupal\Core\Datetime\DateFormatterInterface;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\File\FileSystem;
use Drupal\Core\File\FileSystemInterface;
use Drupal\Core\Logger\LoggerChannel;
use Drupal\Core\Site\Settings;
use Drupal\Core\StringTranslation\StringTranslationTrait;
Expand Down Expand Up @@ -92,9 +92,9 @@ class LogArchiver {
private $config;

/**
* FileSystem.
* FileSystemInterface.
*
* @var \Drupal\Core\File\FileSystem
* @var \Drupal\Core\File\FileSystemInterface
*/
protected $fileSystem;

Expand Down Expand Up @@ -135,8 +135,8 @@ class LogArchiver {
* LoggerChannel.
* @param \Drupal\Core\Config\ConfigFactory $configFactory
* ConfigFactory.
* @param \Drupal\Core\File\FileSystem $fileSystem
* FileSystem.
* @param \Drupal\Core\File\FileSystemInterface $fileSystem
* FileSystemInterface.
* @param \Drupal\Core\Site\Settings $settings
* Settings.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
Expand All @@ -150,7 +150,7 @@ public function __construct(
EntityTypeManager $entityTypeManager,
LoggerChannel $logger,
ConfigFactory $configFactory,
FileSystem $fileSystem,
FileSystemInterface $fileSystem,
Settings $settings,
ModuleHandlerInterface $module_handler,
DateFormatterInterface $date_formatter,
Expand Down