Commit Graph

11 Commits (163cd9f589a485e6191c7ba8b3fa8f666deb80c8)

Author SHA1 Message Date
Your Name 163cd9f589 polish 1 week ago
Daniel Supernault 194c881cb2
Update ResetPasswordController 2 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 33dce75f2c
Pint app/ 4 weeks ago
Daniel Supernault 374344754e
Lint 9 months ago
Shlee 4adc8947d8
Update ResetPasswordController.php 11 months ago
Daniel Supernault 8a89e3c963
Update captcha, use config_cache helper 3 years ago
Daniel Supernault 0ab5b96a00
Update ResetPasswordController, add captcha support, improve security and a new redesigned view 3 years ago
Daniel Supernault 50ab2e2039
Add cloud ip bans to BouncerService 3 years ago
Daniel Supernault 8803c6de3d
Update ResetPasswordController redirectToo path to /i/web as /home is deprecated 4 years ago
Daniel Supernault a034358c98 Add Laravel Framework 9 years ago