Skip to content
Snippets Groups Projects

Issue #3467834: TypeError:...

Merged Vishal Kadam requested to merge issue/views_json_source-3467834:2.0.x into 2.0.x
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -3,7 +3,6 @@
@@ -3,7 +3,6 @@
namespace Drupal\views_json_source\Plugin\views\query;
namespace Drupal\views_json_source\Plugin\views\query;
use Drupal\Component\Datetime\TimeInterface;
use Drupal\Component\Datetime\TimeInterface;
use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher;
use Drupal\Component\Serialization\Json;
use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\NestedArray;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Cache\CacheBackendInterface;
@@ -17,6 +16,7 @@ use Drupal\views_json_source\Event\PreCacheEvent;
@@ -17,6 +16,7 @@ use Drupal\views_json_source\Event\PreCacheEvent;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\ClientInterface;
use Psr\Log\LoggerInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
 
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
/**
* Base query handler for views_json_source.
* Base query handler for views_json_source.
@@ -60,7 +60,7 @@ class ViewsJsonQuery extends QueryPluginBase {
@@ -60,7 +60,7 @@ class ViewsJsonQuery extends QueryPluginBase {
/**
/**
* The event dispatcher.
* The event dispatcher.
*
*
* @var \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
*/
*/
protected $eventDispatcher;
protected $eventDispatcher;
@@ -126,7 +126,7 @@ class ViewsJsonQuery extends QueryPluginBase {
@@ -126,7 +126,7 @@ class ViewsJsonQuery extends QueryPluginBase {
/**
/**
* {@inheritdoc}
* {@inheritdoc}
*/
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config, CacheBackendInterface $cache, TimeInterface $time, ContainerAwareEventDispatcher $event_dispatcher, ClientInterface $http_client, Token $token, LoggerInterface $logger) {
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config, CacheBackendInterface $cache, TimeInterface $time, EventDispatcherInterface $event_dispatcher, ClientInterface $http_client, Token $token, LoggerInterface $logger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->config = $config;
$this->config = $config;
Loading