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 Oct 24, 2022
1 parent 0f5c6a4 commit 612d41c
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 @@ -173,9 +173,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 612d41c

Please sign in to comment.