diff --git a/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php b/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php --- a/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php +++ b/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php @@ -303,7 +303,7 @@ $lint = id(new PHUIObjectBoxView()) ->setHeader($lint_header) - ->appendChild($lint_table); + ->setTable($lint_table); } else { $lint = null; } @@ -327,7 +327,7 @@ $unit = id(new PHUIObjectBoxView()) ->setHeader($unit_header) - ->appendChild($unit_table); + ->setTable($unit_table); } else { $unit = null; } diff --git a/src/applications/harbormaster/controller/HarbormasterUnitMessagesController.php b/src/applications/harbormaster/controller/HarbormasterUnitMessagesController.php --- a/src/applications/harbormaster/controller/HarbormasterUnitMessagesController.php +++ b/src/applications/harbormaster/controller/HarbormasterUnitMessagesController.php @@ -40,7 +40,7 @@ $unit = id(new PHUIObjectBoxView()) ->setHeaderText(pht('Unit Tests')) - ->appendChild($unit_table); + ->setTable($unit_table); $crumbs = $this->buildApplicationCrumbs(); $this->addBuildableCrumb($crumbs, $buildable); diff --git a/src/applications/owners/controller/PhabricatorOwnersDetailController.php b/src/applications/owners/controller/PhabricatorOwnersDetailController.php --- a/src/applications/owners/controller/PhabricatorOwnersDetailController.php +++ b/src/applications/owners/controller/PhabricatorOwnersDetailController.php @@ -276,7 +276,7 @@ $box = id(new PHUIObjectBoxView()) ->setHeaderText(pht('Paths')) - ->appendChild($table); + ->setTable($table); if ($info) { $box->setInfoView($info); diff --git a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php --- a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php +++ b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php @@ -187,8 +187,7 @@ } $result = new PhabricatorApplicationSearchResultView(); - $result->setContent($table); - $result->setCollapsed(true); + $result->setTable($table); return $result; } diff --git a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php --- a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php +++ b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php @@ -103,13 +103,13 @@ PhabricatorSavedQuery $query, array $handles) { - $content = id(new DiffusionPushLogListView()) + $table = id(new DiffusionPushLogListView()) ->setUser($this->requireViewer()) ->setHandles($handles) ->setLogs($logs); return id(new PhabricatorApplicationSearchResultView()) - ->setContent($content); + ->setTable($table); } } diff --git a/src/applications/search/view/PhabricatorApplicationSearchResultView.php b/src/applications/search/view/PhabricatorApplicationSearchResultView.php --- a/src/applications/search/view/PhabricatorApplicationSearchResultView.php +++ b/src/applications/search/view/PhabricatorApplicationSearchResultView.php @@ -34,7 +34,7 @@ return $list; } - public function setTable(AphrontTableView $table) { + public function setTable($table) { $this->table = $table; return $this; }