mirror of https://github.com/pixelfed/pixelfed
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.
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 |
4 weeks ago | |
|---|---|---|
| .. | ||
| CreateGroupsController.php | 4 weeks ago | |
| GroupsAdminController.php | 4 weeks ago | |
| GroupsApiController.php | 4 weeks ago | |
| GroupsCommentController.php | 4 weeks ago | |
| GroupsDiscoverController.php | 9 months ago | |
| GroupsFeedController.php | 4 weeks ago | |
| GroupsMemberController.php | 4 weeks ago | |
| GroupsMetaController.php | 4 weeks ago | |
| GroupsNotificationsController.php | 4 weeks ago | |
| GroupsPostController.php | 4 weeks ago | |
| GroupsSearchController.php | 4 weeks ago | |
| GroupsTopicController.php | 4 weeks ago | |