Commit Graph

9 Commits (1617734907c38dd5db60f8526bc3d8a341ee4e62)

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
Daniel Supernault 53742fa699
Lint 9 months ago
Shlee b18b33c998
Update StatusHashtag.php 11 months ago
Daniel Supernault 39e58f60a2
Update StatusHashtag model, add status_visibility to $fillable 7 years ago
Daniel Supernault 7ffb4c4a45
Update StatusHashtag model, add media relation 7 years ago
Daniel Supernault d39947ed08
Update StatusHashtag 8 years ago
Daniel Supernault 348ff3123e
Update StatusHashtag model 8 years ago
Daniel Supernault b9396b7f68 Update Status & StatusHashtag models to fix mass assignment bug 8 years ago
Daniel Supernault 05bf9b7aee Add StatusHashtag model 8 years ago