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/Groups
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
4 weeks ago
..
CreateGroupsController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsAdminController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsApiController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsCommentController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsDiscoverController.php Lint 9 months ago
GroupsFeedController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsMemberController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsMetaController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsNotificationsController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsPostController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsSearchController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupsTopicController.php refactor: add return type declarations to controller methods 4 weeks ago