Page MenuHomePhabricator

Reuse common getUser() / setUser() in PHUICalendarListView
ClosedPublic

Authored by epriestley on Feb 25 2014, 2:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 19, 8:32 AM
Unknown Object (File)
Thu, May 8, 6:09 AM
Unknown Object (File)
Thu, May 8, 6:09 AM
Unknown Object (File)
Thu, May 8, 6:09 AM
Unknown Object (File)
Apr 29 2025, 8:47 PM
Unknown Object (File)
Apr 14 2025, 8:30 PM
Unknown Object (File)
Mar 27 2025, 4:15 AM
Unknown Object (File)
Mar 25 2025, 1:18 AM
Subscribers

Details

Summary

These methods already exist in AphrontView. The redefinition can sometimes cause this warning:

[2014-02-24 18:27:48] ERROR 2048: Declaration of PHUICalendarListView::setUser() should be compatible with AphrontView::setUser(PhabricatorUser $user) at [/INSECURE/devtools/phabricator/src/view/phui/calendar/PHUICalendarListView.php:138]
Test Plan

Viewed calendar on profile.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped