Commit bb399693 authored by dragonwize's avatar dragonwize Committed by John.Avery
Browse files

Issue #3165129 by dragonwize: Use LoggerChannelFactoryInterface

parent c47cbf70
......@@ -6,7 +6,7 @@ use Swaggest\JsonSchema\InvalidValue;
use Swaggest\JsonSchema\Schema;
use GuzzleHttp\Exception\RequestException;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Logger\LoggerChannelFactory;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Messenger\MessengerInterface;
use GuzzleHttp\Client;
use Drupal\Core\StringTranslation\StringTranslationTrait;
......@@ -35,7 +35,7 @@ abstract class MarketingCloudService {
/**
* Logger service.
*
* @var \Drupal\Core\Logger\LoggerChannelFactory
* @var \Drupal\Core\Logger\LoggerChannelFactoryInterface
*/
private $loggerFactory;
......@@ -58,14 +58,14 @@ abstract class MarketingCloudService {
*
* @param \Drupal\Core\Config\ConfigFactoryInterface $configFactory
* Dependency injection config factory.
* @param \Drupal\Core\Logger\LoggerChannelFactory $loggerFactory
* @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerFactory
* Dependency injection logger factory.
* @param \GuzzleHttp\Client $httpClient
* Dependency injection REST client.
* @param \Drupal\Core\Messenger\MessengerInterface $messenger
* The messenger service.
*/
public function __construct(ConfigFactoryInterface $configFactory, LoggerChannelFactory $loggerFactory, Client $httpClient, MessengerInterface $messenger) {
public function __construct(ConfigFactoryInterface $configFactory, LoggerChannelFactoryInterface $loggerFactory, Client $httpClient, MessengerInterface $messenger) {
$this->configFactory = $configFactory;
$this->loggerFactory = $loggerFactory;
$this->httpClient = $httpClient;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment