Commit Graph

25 Commits (8396d5e46a5d11ffa9abf221bb85b19107a3106b)

Author SHA1 Message Date
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
Your Name 10a5eb7228 Remove exp.rec recommendations dead code
- Remove userRecommendations controller method and /api/local/exp/rec route
- Remove suggestions UI panel, data properties, and methods from Timeline.vue
- Remove commented-out suggestions card from feed template

The recommendations feature was deprecated and hardcoded to false/empty.
5 months ago
Daniel Supernault 374344754e
Lint 9 months ago
Daniel Supernault da38b33a24
Remove deprecated routes/methods 4 years ago
Daniel Supernault c369882b48
Update Redis namespace 7 years ago
Daniel Supernault 139c6651bf
Update ApiController, fixes #1705 7 years ago
Daniel Supernault 1632d295ef
Update ApiController 7 years ago
Daniel Supernault 460433ff20
Update ApiController 7 years ago
Daniel Supernault b2d873a22c
Update ApiController 7 years ago
Daniel Supernault 9879d3c942
Update config var 7 years ago
Daniel Supernault d7e6350f9f
Update ApiController 7 years ago
Daniel Supernault acce300bc3
Update ApiController 7 years ago
Daniel Supernault d78f7c7734
Update ApiController 7 years ago
Daniel Supernault 99503ec464
Update ApiController 8 years ago
Daniel Supernault 427720060e
Update ApiController 8 years ago
Daniel Supernault 0b1c03e5bf
Update ApiController 8 years ago
Daniel Supernault 9b357188e4
Update ApiController 8 years ago
Daniel Supernault 7049b96a94
Update ApiController 8 years ago
Daniel Supernault a665b90b60
Update ApiController 8 years ago
Daniel Supernault 1de3f0ce24
Update ApiController 8 years ago
Daniel Supernault 4739c25fe0
Update Cache, prepare for laravel 5.8 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault 57a565dbba
Update ApiController 8 years ago
Daniel Supernault 4751832ad3 Fix pagination bug for like and comment events 8 years ago
Daniel Supernault 4ca5a9e742 Add ApiController 8 years ago