Commit 1535b809 authored by Chris Snyder's avatar Chris Snyder Committed by David Lanier
Browse files

Issue #3261839 by chrissnyder: TypeError: Argument 3 passed to...

Issue #3261839 by chrissnyder: TypeError: Argument 3 passed to Drupal\migrate_qa\Entity\Tracker::__construct() must be of the type bool, null given, called
parent 2a678db6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
+1 −1
Original line number Diff line number Diff line
@@ -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();