diff --git a/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php b/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php index 634a3b0dc4..ac55bf40b0 100644 --- a/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php +++ b/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php @@ -303,7 +303,7 @@ final class HarbormasterBuildableViewController $lint = id(new PHUIObjectBoxView()) ->setHeader($lint_header) - ->appendChild($lint_table); + ->setTable($lint_table); } else { $lint = null; } @@ -327,7 +327,7 @@ final class HarbormasterBuildableViewController $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 index cf56f8e4d3..ada83f9a5a 100644 --- a/src/applications/harbormaster/controller/HarbormasterUnitMessagesController.php +++ b/src/applications/harbormaster/controller/HarbormasterUnitMessagesController.php @@ -40,7 +40,7 @@ final class HarbormasterUnitMessagesController $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 index 7935031389..6ec31eadfc 100644 --- a/src/applications/owners/controller/PhabricatorOwnersDetailController.php +++ b/src/applications/owners/controller/PhabricatorOwnersDetailController.php @@ -276,7 +276,7 @@ final class PhabricatorOwnersDetailController $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 index fd64142c1e..851ef113d0 100644 --- a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php +++ b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php @@ -187,8 +187,7 @@ final class PhabricatorPeopleLogSearchEngine } $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 index ac798975ac..b054423d26 100644 --- a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php +++ b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php @@ -103,13 +103,13 @@ final class PhabricatorRepositoryPushLogSearchEngine 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 index 729b6833bd..a6b8aa3b8b 100644 --- a/src/applications/search/view/PhabricatorApplicationSearchResultView.php +++ b/src/applications/search/view/PhabricatorApplicationSearchResultView.php @@ -34,7 +34,7 @@ final class PhabricatorApplicationSearchResultView extends Phobject { return $list; } - public function setTable(AphrontTableView $table) { + public function setTable($table) { $this->table = $table; return $this; }