Skip to content
Snippets Groups Projects
Commit 4fa26fd9 authored by catch's avatar catch
Browse files

Issue #3260520 by TR: GenericEvent is used improperly

parent 0971ae5f
Branches
Tags 10.0.0-alpha4
Loading
......@@ -2,12 +2,12 @@
namespace Drupal\Core\Entity;
use Symfony\Component\EventDispatcher\GenericEvent;
use Drupal\Component\EventDispatcher\Event;
/**
* Defines a base class for all entity type events.
*/
class EntityTypeEvent extends GenericEvent {
class EntityTypeEvent extends Event {
/**
* The entity type.
......
......@@ -2,12 +2,12 @@
namespace Drupal\Core\Field;
use Symfony\Component\EventDispatcher\GenericEvent;
use Drupal\Component\EventDispatcher\Event;
/**
* Defines a base class for all field storage definition events.
*/
class FieldStorageDefinitionEvent extends GenericEvent {
class FieldStorageDefinitionEvent extends Event {
/**
* The field storage definition.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment