Your project should not use invalid return types

More information: https://insight.symfony.com/what-we-analyse/php.invalid_return_typehint

in src/Container.php, line 125
  1. );
  2. }
  3. $dispatcher = $this->entries->offsetGet(EventDispatcherInterface::class);
  4. return $this->handledEntries[EventDispatcherInterface::class] = $dispatcher;
    Method Projek\Container::getEventDispatcher() should return Psr\EventDispatcher\EventDispatcherInterface but returns (callable)|object.
    Time to fix: about 9 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  5. }
  6. /**
  7. * Assign a PSR-14 event dispatcher implementation.
  8. *