Commit 4fa26fd9 authored by catch's avatar catch
Browse files

Issue #3260520 by TR: GenericEvent is used improperly

parent 0971ae5f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 −2
Original line number Diff line number Diff line
@@ -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.