Commit Graph

12 Commits (89a0aa3bf732d3bda0ddef6058b4ecd44ea7c217)

Author SHA1 Message Date
Your Name f2159197e8 fix: add return type declarations to Eloquent relation methods
Larastan 3.x requires explicit return types on relation methods to
verify relation existence when using with(), has(), etc. This adds
the appropriate return type declarations to all relation methods
flagged by the larastan.relationExistence rule.

Models fixed:
- Profile (avatar, statuses)
- User (profile)
- Status (profile, media, hashtags)
- DirectMessage (status, author, recipient)
- Report (reporter, status, reportedUser)
- Like (actor, status)
- Media (status)
- Notification (item)
- HashtagFollow (hashtag)
- OauthClient (user)
- Story (profile)
- StatusHashtag (status, hashtag, profile, media)
- AccountInterstitial (user)
- Hashtag (posts)
- CustomFilter (keywords)
- CustomFilterKeyword (customFilter)
- AdminShadowFilter (profile)
- ImportPost (status)
4 weeks ago
Your Name 2f06f30508 fix 7 months ago
Daniel Supernault 53742fa699
Lint 9 months ago
Daniel Supernault b1f95a7213
Bump laravel, v9 => v10 3 years ago
Daniel Supernault 83e1e203ce
Update SharePipeline, fix share handling and notification generation 4 years ago
Daniel Supernault 881fa86573
Update NotificationTransformer, handle tagged deletes 6 years ago
Daniel Supernault da68aa1c26
Update Notification model 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault 4e51fbd5eb Add soft-deletes 8 years ago
Daniel Supernault eaf465914a Add comment notifications 8 years ago
Daniel Supernault 1406f467a0 Add basic notification support 8 years ago
Daniel Supernault e52f81fc2a Add Notification model/migration 8 years ago