Use assert_instances_of() everywhere but Differential and Diffusion
Summary: NOTE: This is not produced by a script so there might be errors. Please review carefully. Test Plan: Browse around. Reviewers: epriestley Reviewed By: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D2091
This commit is contained in:
@@ -270,6 +270,7 @@ final class PhabricatorProjectProfileController
|
||||
}
|
||||
|
||||
private function renderStories(array $stories) {
|
||||
assert_instances_of($stories, 'PhabricatorFeedStory');
|
||||
|
||||
$builder = new PhabricatorFeedBuilder($stories);
|
||||
$builder->setUser($this->getRequest()->getUser());
|
||||
|
||||
Reference in New Issue
Block a user