Skip to content
Snippets Groups Projects

Issue #3287156: Automated Drupal 10 compatibility fixes

4 files
+ 8
8
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -4,9 +4,9 @@ namespace Drupal\elasticsearch_connector_autocomp\EventSubscriber;
use Drupal\Core\Database\Connection;
use Drupal\elasticsearch_connector\ElasticSearch\Parameters\Factory\IndexFactory;
use Drupal\Component\EventDispatcher\Event;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\EventDispatcher\Event;
/**
* Class DefaultSubscriber.
@@ -53,7 +53,7 @@ class DefaultSubscriber implements EventSubscriberInterface {
/**
* Called on elasticsearch_connector.prepare_index_mapping event.
*
* @param \Symfony\Component\EventDispatcher\Event $event
* @param \Drupal\Component\EventDispatcher\Event $event
* The event.
*/
public function elasticsearchConnectorPrepareIndexMapping(Event $event) {
@@ -84,7 +84,7 @@ class DefaultSubscriber implements EventSubscriberInterface {
/**
* Called on elasticsearch_connector.prepare_index event.
*
* @param \Symfony\Component\EventDispatcher\Event $event
* @param \Drupal\Component\EventDispatcher\Event $event
* The event.
*/
public function elasticsearchConnectorPrepareIndex(Event $event) {
@@ -118,7 +118,7 @@ class DefaultSubscriber implements EventSubscriberInterface {
}
}
}
}
}
EOF;
$body = json_decode($body, TRUE);
Loading