Skip to content

Commit

Permalink
Merge pull request #37 from pantheon-systems/articles-api-initializat…
Browse files Browse the repository at this point in the history
…ion-error

Renjith | Import LoggerChannelFactoryInterface
  • Loading branch information
kevinstubbs authored Jan 30, 2025
2 parents 20368f6 + 29683ea commit 1d3879f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pcc/Service/PccArticlesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 1d3879f

Please sign in to comment.