Commit Graph

21 Commits (9770ac1aeb3e611856f95c12551f7a9d906d831e)

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 edb4368b08 refactor: replace deprecated laravel/helpers with native alternatives
Replace all deprecated helper function calls:
- str_slug() → Str::slug()
- starts_with() → str_starts_with()
- ends_with() → str_ends_with()
- array_first() → Arr::first()
- array_last() → Arr::last()
- array_flatten() → Arr::flatten()

Remove laravel/helpers package from composer.json as it is no longer
needed and will not be maintained for Laravel 13.
4 weeks ago
Daniel Supernault 26ee049d07
Update AppRegisterController 1 month ago
Shlee bbd09fe50f
Update AppRegisterController.php 6 months ago
Shlee d9bd6d446f
Update AppRegisterController.php 7 months ago
Daniel Supernault c319dfbcc4
Update AppRegister controller, add scheduled cleanup task to delete older than 90d 1 year ago
Daniel Supernault 3977137d02
Update AppRegisterController 1 year ago
Daniel Supernault 5340649d04
Update AppRegisterController 2 years ago
Daniel Supernault 0844094b99
Update App Register to expire codes after 4 hours instead of 60 minutes 2 years ago
Daniel Supernault dbd1e17b25
Add app register email verify resends 2 years ago
Daniel Supernault cc78dfc650
Refactor based on @jippi review 2 years ago
Daniel Supernault 509a50b8e0
Update AppRegisterController.php 2 years ago
Daniel Supernault ea03784994
Update AppRegisterController.php 2 years ago
Daniel Supernault f924491e4d
Updaet AppRegisterController, add client id/secret 2 years ago
Daniel Supernault fe46512359
Improve onboarding response 2 years ago
Daniel Supernault 112eee4538
Update AppRegisterController 2 years ago
Daniel Supernault 5d2afd2c7c
Update AppRegisterController.php 2 years ago
Daniel Supernault ee01e073ef
Update AppRegisterController 2 years ago
Daniel Supernault 455711332b
Fix redirects 2 years ago
Daniel Supernault 3c249616ef
Add rate limits, fix typo and styling 2 years ago
Daniel Supernault 604746bd5e
Add AppRegister 2 years ago