diff --git a/src/applications/drydock/query/DrydockLeaseSearchEngine.php b/src/applications/drydock/query/DrydockLeaseSearchEngine.php index 14d39cffe8..66f783875e 100644 --- a/src/applications/drydock/query/DrydockLeaseSearchEngine.php +++ b/src/applications/drydock/query/DrydockLeaseSearchEngine.php @@ -93,10 +93,8 @@ final class DrydockLeaseSearchEngine ->setUser($this->requireViewer()) ->setLeases($leases); - $result = new PhabricatorApplicationSearchResultView(); - $result->setTable($list); - - return $result; + return id(new PhabricatorApplicationSearchResultView()) + ->setContent($list); } }