Fix errors found by PHPStan
Test Plan: Ran `phpstan analyze -a autoload.php phabricator/src`. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, hach-que Differential Revision: https://secure.phabricator.com/D17371
This commit is contained in:
@@ -48,7 +48,7 @@ final class PhabricatorProjectMembersAddController
|
||||
'+' => array_fuse($member_phids),
|
||||
));
|
||||
|
||||
$editor = id(new PhabricatorProjectTransactionEditor($project))
|
||||
$editor = id(new PhabricatorProjectTransactionEditor())
|
||||
->setActor($viewer)
|
||||
->setContentSourceFromRequest($request)
|
||||
->setContinueOnNoEffect(true)
|
||||
|
||||
Reference in New Issue
Block a user