1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-28 12:08:14 +01:00

Fix inconsistence in declared VS used property

Summary: Found by D3601.

Test Plan: Loaded revision.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3603
This commit is contained in:
vrana 2012-10-03 11:38:49 -07:00
parent 52c68e1261
commit 92aaffd0c5

View file

@ -52,7 +52,7 @@ final class AphrontSideNavView extends AphrontView {
} }
public function setFlexible($flexible) { public function setFlexible($flexible) {
$this->flexible = $flexible; $this->isFlexible = $flexible;
return $this; return $this;
} }
@ -91,7 +91,7 @@ final class AphrontSideNavView extends AphrontView {
), ),
$apps->render()); $apps->render());
if ($this->flexible) { if ($this->isFlexible) {
$drag_id = celerity_generate_unique_node_id(); $drag_id = celerity_generate_unique_node_id();
$flex_bar = phutil_render_tag( $flex_bar = phutil_render_tag(
'div', 'div',