mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 07:11:04 +01:00
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:
parent
7e3adb1257
commit
d0258a8981
1 changed files with 2 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue