Skip to content
Snippets Groups Projects
Commit 9d858c86 authored by David Bätge's avatar David Bätge Committed by Julian Pustkuchen
Browse files

Issue #3375498 by daveiano: TypeError in ImageCaptchaRenderService when using redirect_404

parent fdce0696
No related branches found
No related tags found
1 merge request!77Use LoggerChannelFactoryInterface instead of LoggerChannelFactory in ImageCaptchaRenderService.
......@@ -7,7 +7,7 @@ use Drupal\Core\Config\Config;
use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Database\Connection;
use Drupal\Core\File\FileSystemInterface;
use Drupal\Core\Logger\LoggerChannelFactory;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Url;
use Drupal\Core\Link;
use Drupal\image_captcha\Constants\ImageCaptchaConstants;
......@@ -56,7 +56,7 @@ class ImageCaptchaRenderService {
/**
* {@inheritdoc}
*/
public function __construct(ConfigFactory $config_factory, LoggerChannelFactory $logger, Connection $connection, FileSystemInterface $fileSystem) {
public function __construct(ConfigFactory $config_factory, LoggerChannelFactoryInterface $logger, Connection $connection, FileSystemInterface $fileSystem) {
$this->config = $config_factory->get('image_captcha.settings');
$this->logger = $logger->get('captcha');
$this->connection = $connection;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment