Skip to content
Snippets Groups Projects

3287855: Automated Drupal 10 compatibility fixes

2 files
+ 4
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -2,11 +2,11 @@
namespace Drupal\gzip_html\EventSubscriber;
use Symfony\Component\HttpKernel\Event\ResponseEvent;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Session\AccountProxyInterface;
use Drupal\devel\DevelDumperPluginManagerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpKernel\KernelEvents;
/**
@@ -36,10 +36,10 @@ class GzipHTMLSubscriber implements EventSubscriberInterface {
/**
* Gzips the HTML.
*
* @param \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event
* @param \Symfony\Component\HttpKernel\Event\ResponseEvent $event
* The filter event.
*/
public function response(FilterResponseEvent $event) {
public function response(ResponseEvent $event) {
// Check if compression is disabled.
if (!$this->config->get('gzip_html')) {
return;
Loading