You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Http/Controllers
Your Name 54cfdf3c2b refactor: add return type declarations to controller methods
Adds explicit return type declarations to 498 controller methods
across 88 files. Types inferred from return statements:

- JsonResponse for response()->json() returns
- RedirectResponse for redirect()/back() returns
- View (contract) for view() returns
- Response for response() returns
- void for methods with no return value
- array for array returns
- string/int/bool for scalar returns

Also fixes 3 methods with incorrect bare returns:
- AvatarController::deleteAvatar - bare return → json response
- ImportPostController::checkPermissions - bare return → true
- RemoteAuthController::accountToId - bare return → empty array
3 months ago
..
Admin refactor: add return type declarations to controller methods 3 months ago
Api refactor: add return type declarations to controller methods 3 months ago
Auth refactor: add return type declarations to controller methods 3 months ago
Groups refactor: add return type declarations to controller methods 3 months ago
Import fix: replace Auth facade with $request->user() in request-scoped classes 3 months ago
OAuth Pint app/ 3 months ago
Settings fix: replace Auth facade with $request->user() in request-scoped classes 3 months ago
Stories refactor: add return type declarations to controller methods 3 months ago
AccountController.php refactor: add return type declarations to controller methods 3 months ago
AccountInterstitialController.php refactor: add return type declarations to controller methods 3 months ago
AdminController.php refactor: add return type declarations to controller methods 3 months ago
AdminCuratedRegisterController.php refactor: add return type declarations to controller methods 3 months ago
AdminInviteController.php refactor: add return type declarations to controller methods 3 months ago
AdminShadowFilterController.php refactor: add return type declarations to controller methods 3 months ago
ApiController.php refactor: add return type declarations to controller methods 3 months ago
AppRegisterController.php refactor: add return type declarations to controller methods 3 months ago
AuthorizeInteractionController.php refactor: add return type declarations to controller methods 3 months ago
AvatarController.php refactor: add return type declarations to controller methods 3 months ago
BookmarkController.php Pint app/ 3 months ago
CircleController.php refactor: add return type declarations to controller methods 3 months ago
CircleProfileController.php Lint 11 months ago
CollectionController.php refactor: add return type declarations to controller methods 3 months ago
CollectionItemController.php Lint 11 months ago
CommentController.php refactor: add return type declarations to controller methods 3 months ago
ComposeController.php refactor: add return type declarations to controller methods 3 months ago
ContactController.php refactor: add return type declarations to controller methods 3 months ago
Controller.php
…
CuratedRegisterController.php refactor: add return type declarations to controller methods 3 months ago
CustomFilterController.php refactor: add return type declarations to controller methods 3 months ago
CustomFilterKeywordController.php Lint 11 months ago
CustomFilterStatusController.php Lint 11 months ago
DeckController.php refactor: add return type declarations to controller methods 3 months ago
DirectMessageController.php refactor: add return type declarations to controller methods 3 months ago
DiscoverCategoryController.php Lint 11 months ago
DiscoverCategoryHashtagController.php Lint 11 months ago
DiscoverController.php refactor: add return type declarations to controller methods 3 months ago
FederationController.php refactor: add return type declarations to controller methods 3 months ago
FollowerController.php refactor: add return type declarations to controller methods 3 months ago
GroupController.php refactor: add return type declarations to controller methods 3 months ago
GroupFederationController.php refactor: add return type declarations to controller methods 3 months ago
GroupPostController.php Lint 11 months ago
HashtagController.php
…
HashtagFollowController.php refactor: add return type declarations to controller methods 3 months ago
HealthCheckController.php refactor: add return type declarations to controller methods 3 months ago
ImportController.php Lint 11 months ago
ImportPostController.php refactor: add return type declarations to controller methods 3 months ago
InstallController.php refactor: add return type declarations to controller methods 3 months ago
InstanceActorController.php refactor: add return type declarations to controller methods 3 months ago
InternalApiController.php refactor: add return type declarations to controller methods 3 months ago
LandingController.php refactor: add return type declarations to controller methods 3 months ago
LikeController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
LiveStreamController.php refactor: add return type declarations to controller methods 3 months ago
MediaBlocklistController.php refactor: add return type declarations to controller methods 3 months ago
MediaController.php refactor: add return type declarations to controller methods 3 months ago
MediaTagController.php refactor: add return type declarations to controller methods 3 months ago
MicroController.php refactor: add return type declarations to controller methods 3 months ago
MobileController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
NewsroomController.php refactor: add return type declarations to controller methods 3 months ago
NotificationController.php
…
PageController.php refactor: add return type declarations to controller methods 3 months ago
ParentalControlsController.php refactor: add return type declarations to controller methods 3 months ago
PersonalAccessTokenController.php refactor: add return type declarations to controller methods 3 months ago
PixelfedDirectoryController.php refactor: add return type declarations to controller methods 3 months ago
PlaceController.php refactor: add return type declarations to controller methods 3 months ago
PollController.php Lint 11 months ago
PortfolioController.php refactor: add return type declarations to controller methods 3 months ago
ProfileAliasController.php refactor: add return type declarations to controller methods 3 months ago
ProfileController.php refactor: add return type declarations to controller methods 3 months ago
ProfileMigrationController.php refactor: add return type declarations to controller methods 3 months ago
ProfileSponsorController.php refactor: add return type declarations to controller methods 3 months ago
PublicApiController.php refactor: add return type declarations to controller methods 3 months ago
RemoteAuthController.php refactor: add return type declarations to controller methods 3 months ago
RemoteOidcController.php refactor: add return type declarations to controller methods 3 months ago
ReportController.php refactor: add return type declarations to controller methods 3 months ago
SearchController.php refactor: add return type declarations to controller methods 3 months ago
SeasonalController.php refactor: add return type declarations to controller methods 3 months ago
SettingsController.php refactor: add return type declarations to controller methods 3 months ago
SiteController.php refactor: add return type declarations to controller methods 3 months ago
SoftwareUpdateController.php Lint 11 months ago
SpaController.php refactor: add return type declarations to controller methods 3 months ago
StatusController.php refactor: add return type declarations to controller methods 3 months ago
StatusEditController.php Merge branch 'staging' into remove-exp-pue 3 months ago
StoryComposeController.php refactor: add return type declarations to controller methods 3 months ago
StoryController.php refactor: add return type declarations to controller methods 3 months ago
TimelineController.php refactor: add return type declarations to controller methods 3 months ago
UIKitController.php Lint 11 months ago
UserAppSettingsController.php Lint 11 months ago
UserEmailForgotController.php refactor: add return type declarations to controller methods 3 months ago
UserInviteController.php refactor: add return type declarations to controller methods 3 months ago
UserRolesController.php Lint 11 months ago