Fix a mismatched method definition in PhabricatorHomeProfileMenuItem
Summary: Fixes T12187. Ref T12190. See T12190 for discussion of why this escaped notice. Test Plan: - Commented out the `error_reporting()` clause around file inclusion. - Reproduced the error in PHP7. - Corrected the method signature. - Reloaded the page, no more error. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12190, T12187 Differential Revision: https://secure.phabricator.com/D17297
This commit is contained in:
@@ -29,7 +29,8 @@ final class PhabricatorHomeProfileMenuItem
|
||||
return $this->getDefaultName();
|
||||
}
|
||||
|
||||
public function newPageContent() {
|
||||
public function newPageContent(
|
||||
PhabricatorProfileMenuItemConfiguration $config) {
|
||||
$viewer = $this->getViewer();
|
||||
|
||||
return id(new PHUIHomeView())
|
||||
|
||||
Reference in New Issue
Block a user