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)
Sat, Dec 28, 1:56 AM
Unknown Object (File)
Sat, Dec 28, 12:54 AM
Unknown Object (File)
Dec 15 2024, 3:47 AM
Unknown Object (File)
Dec 3 2024, 12:06 PM
Unknown Object (File)
Dec 3 2024, 12:06 PM
Unknown Object (File)
Dec 3 2024, 12:06 PM
Unknown Object (File)
Dec 3 2024, 11:47 AM
Unknown Object (File)
Nov 29 2024, 1:56 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