Skip to content

Commit

Permalink
Revert "UI\PresenterComponent: removed references created by loadStat…
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 5, 2022
1 parent 377a885 commit 61cf464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Application/UI/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ public function loadState(array $params): void
));
}

$this->$name = $params[$name];
$this->$name = &$params[$name];
} else {
$params[$name] = $this->$name ?? null;
$params[$name] = &$this->$name;
}
}

Expand Down

0 comments on commit 61cf464

Please sign in to comment.