1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +01:00

Remove call to non-existing AphrontTypeaheadTemplateView::renderToken()

Summary:
`AphrontTypeaheadTemplateView::renderToken()` is an undefined method,
and its result is stored in an orphan variable, and no child class
extends `AphrontTypeaheadTemplateView` defining a `renderToken()`.
Thus remove its call from `AphrontTypeaheadTemplateView::render()`.

Test Plan: Read/grep the code in this class.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25721
This commit is contained in:
Andre Klapper 2024-07-03 08:38:35 +02:00
parent 2aecae4ede
commit 0873b36569

View file

@ -34,12 +34,6 @@ final class AphrontTypeaheadTemplateView extends AphrontView {
$id = $this->id; $id = $this->id;
$name = $this->getName(); $name = $this->getName();
$values = nonempty($this->getValue(), array());
$tokens = array();
foreach ($values as $key => $value) {
$tokens[] = $this->renderToken($key, $value);
}
$input = javelin_tag( $input = javelin_tag(
'input', 'input',