Loading src/Entity/Issue.php +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ class Issue extends ContentEntityBase implements IssueInterface { * * {@inheritdoc} */ public function __construct(array $values, $entity_type, bool $bundle = FALSE, array $translations = []) { public function __construct(array $values, $entity_type, $bundle = FALSE, $translations = []) { parent::__construct($values, $entity_type, $bundle, $translations); $this->time = \Drupal::service('datetime.time'); $this->currentUser = \Drupal::currentUser(); Loading src/Entity/Tracker.php +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ class Tracker extends ContentEntityBase implements TrackerInterface { * * {@inheritdoc} */ public function __construct(array $values, $entity_type, bool $bundle = FALSE, array $translations = []) { public function __construct(array $values, $entity_type, $bundle = FALSE, $translations = []) { parent::__construct($values, $entity_type, $bundle, $translations); $this->time = \Drupal::service('datetime.time'); $this->currentUser = \Drupal::currentUser(); Loading Loading
src/Entity/Issue.php +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ class Issue extends ContentEntityBase implements IssueInterface { * * {@inheritdoc} */ public function __construct(array $values, $entity_type, bool $bundle = FALSE, array $translations = []) { public function __construct(array $values, $entity_type, $bundle = FALSE, $translations = []) { parent::__construct($values, $entity_type, $bundle, $translations); $this->time = \Drupal::service('datetime.time'); $this->currentUser = \Drupal::currentUser(); Loading
src/Entity/Tracker.php +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ class Tracker extends ContentEntityBase implements TrackerInterface { * * {@inheritdoc} */ public function __construct(array $values, $entity_type, bool $bundle = FALSE, array $translations = []) { public function __construct(array $values, $entity_type, $bundle = FALSE, $translations = []) { parent::__construct($values, $entity_type, $bundle, $translations); $this->time = \Drupal::service('datetime.time'); $this->currentUser = \Drupal::currentUser(); Loading