diff --git a/src/CanvasApiService.php b/src/CanvasApiService.php index 08696fb923a6d52a617636f9b5b37b533782e9a8..2bef1260332ff51feba68ed1ed90721a9b827063 100644 --- a/src/CanvasApiService.php +++ b/src/CanvasApiService.php @@ -6,7 +6,7 @@ use Drupal\Component\Serialization\Json; use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Http\ClientFactory; -use Drupal\Core\Logger\LoggerChannelFactory; +use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\key\KeyRepository; use Drupal\key\KeyRepositoryInterface; @@ -38,7 +38,7 @@ class CanvasApiService { ClientFactory $clientFactory, ConfigFactoryInterface $config, KeyRepositoryInterface $keyRepository, - LoggerChannelFactory $loggerChannelFactory + LoggerChannelFactoryInterface $loggerChannelFactory ){ $this->logger = $loggerChannelFactory->get('canvas_api'); $this->lms = $config->get('canvas_lms.settings');