Commit Graph

5 Commits (96f7f794324187dfc595e7d4ea2538173ffdada0)

Author SHA1 Message Date
Your Name 5ebc1af91e BATCH 1 6 days ago
Dmitry Rantovov 71cade540a Drop the no-op pf_type assignment in the group topic feed 3 weeks ago
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
Daniel Supernault 374344754e
Lint 9 months ago
Daniel Supernault 3d6b9badf4
Add groups models, controllers and services 2 years ago