From 29683ea0df0730e4888364b9473354d3627fd83e Mon Sep 17 00:00:00 2001 From: Renjith Warrier Date: Thu, 30 Jan 2025 19:39:57 +0530 Subject: [PATCH] Renjith | Import LoggerChannelFactoryInterface --- src/Pcc/Service/PccArticlesApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pcc/Service/PccArticlesApi.php b/src/Pcc/Service/PccArticlesApi.php index 74221be..6c51538 100644 --- a/src/Pcc/Service/PccArticlesApi.php +++ b/src/Pcc/Service/PccArticlesApi.php @@ -2,7 +2,7 @@ namespace Drupal\pcx_connect\Pcc\Service; -use Drupal\Core\Logger\LoggerChannelFactory; +use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\Core\Logger\LoggerChannelInterface; use Drupal\pcx_connect\Pcc\Mapper\PccArticlesMapperInterface; use PccPhpSdk\api\ArticlesApi; @@ -55,7 +55,7 @@ class PccArticlesApi implements PccArticlesApiInterface { * The pcc api client. * @param \\Drupal\pcx_connect\Pcc\Mapper\PccArticlesMapperInterface $pccArticlesMapper * The PCC article mapper. - * @param \Drupal\Core\Logger\LoggerChannelFactory $loggerChannelFactory + * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerChannelFactory * Logger Channel Factory. */ public function __construct(PccApiClient $pccApiClient, PccArticlesMapperInterface $pccArticlesMapper, LoggerChannelFactoryInterface $loggerChannelFactory) {