Commit Graph

22 Commits (6b9a41ad046946340af7b18b23535fbc2da16403)

Author SHA1 Message Date
Your Name 1379ae4019 Larastan 6 days ago
Your Name 0d999f5dda added return type to function 6 days ago
Your Name 4547b1fc11 StrStartsWithRector 6 days ago
Your Name 5ebc1af91e BATCH 1 6 days ago
Your Name c0cde2f682 refactor: move 52 legacy models from App\ to App\Models\
Move all Eloquent models from the app/ root directory to app/Models/
for consistency with modern Laravel conventions. The project already had
54 models in App\Models; this migrates the remaining 52 legacy models.

Changes:
- Move 52 model files from app/ to app/Models/
- Update namespace declarations in each model
- Update all ~1000 import references across the codebase
- Add Relation::morphMap() in AppServiceProvider for backward
  compatibility with existing polymorphic database records
- Add missing HasSnowflakePrimary imports for models that relied
  on same-namespace resolution
4 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 feb969b908
Update LiveStreamController, remove auth middleware from config endpoint 4 years ago
Daniel Supernault 4bd9e12f00
Update livestream events 4 years ago
Daniel Supernault 19908f6ffb
Update LiveStreamController 4 years ago
Daniel Supernault 433eace75e
Update LiveStreamController 4 years ago
Daniel Supernault 473cdba855
Update LiveStreamController 4 years ago
Daniel Supernault 4630c5d67a
Update LiveStream events 4 years ago
Daniel Supernault b55e91d1e3
Update LiveStreamController, add stream end event to deleteStream 4 years ago
Daniel Supernault a45deb93ed
Add stream start + end events 4 years ago
Daniel Supernault 6bf68c147e
Update LiveStreamController, fix visibility condition 4 years ago
Daniel Supernault f8e585c49a
Update LiveStreamController, clear chat cache when deleting stream 4 years ago
Daniel Supernault f51ffa7eab
Update LiveStreamController, clear chat after stream ends 4 years ago
Daniel Supernault aa498af073
Add live stream events 4 years ago
Daniel Supernault 494f11202f
Update LiveStream model 4 years ago
Daniel Supernault 00770c6002
Update livestream config 4 years ago
Daniel Supernault 5206f21f59
Add Live Stories/Live streaming 4 years ago