Commit be072e74 authored by vpeltot's avatar vpeltot Committed by lussoluca

Issue #2914040 by vpeltot: PHP Fatal Error with 8.4

parent 14c62f18
......@@ -56,7 +56,7 @@ class DatabaseDataCollector extends DataCollector implements DrupalDataCollector
unset($query['caller']['args']);
// Remove query args element if empty.
if (isset($query['args'] && empty($query['args']))) {
if (isset($query['args']) && empty($query['args'])) {
unset($query['args']);
}
......
......@@ -4,7 +4,7 @@ namespace Drupal\webprofiler\EventDispatcher;
use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher;
use Drupal\webprofiler\Stopwatch;
use Symfony\Component\DependencyInjection\IntrospectableContainerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\HttpKernel\KernelEvents;
......@@ -32,7 +32,7 @@ class TraceableEventDispatcher extends ContainerAwareEventDispatcher implements
/**
* {@inheritdoc}
*/
public function __construct(IntrospectableContainerInterface $container, array $listeners = []) {
public function __construct(ContainerInterface $container, array $listeners = []) {
parent::__construct($container, $listeners);
$this->notCalledListeners = $listeners;
}
......
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