* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\PrestashopCheckout\Event; use Symfony\Component\EventDispatcher\Event as SymfonyComponentEvent; use Symfony\Contracts\EventDispatcher\Event as SymfonyContractEvent; if (class_exists(SymfonyComponentEvent::class)) { // @phpstan-ignore-next-line class Event extends SymfonyComponentEvent { } } elseif (class_exists(SymfonyContractEvent::class)) { // @phpstan-ignore-next-line class Event extends SymfonyContractEvent /* @phpstan-ignore-line */ { } }