Commit Graph

15 Commits (ffcef3eb2ddf1f4629efeec7bdf0fa25e5b7d554)

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)
3 months ago
Your Name 2f06f30508 fix 9 months ago
Daniel Supernault 4bc1e22121
Refactor LikePipeline and improve Undo Announce handling 1 year ago
Daniel Supernault 4223119f58
Update Like model, increase max likes per day from 500 to 1500 3 years ago
Daniel Supernault ea943333a5
Update models, remove deprecated toText and toHtml methods 4 years ago
Daniel Supernault b1f95a7213
Bump laravel, v9 => v10 4 years ago
Daniel Supernault ab7676f963
Update Like model, increase rate limit to 500 likes per day 4 years ago
Daniel Supernault 7e333059fb
Update models 4 years ago
Daniel Supernault 71ba5fedc2
Update Like model, bump max likes per day from 100 to 200 5 years ago
Daniel Supernault f92b259232
Update LikePipeline 8 years ago
Daniel Supernault 3b7127ba32
Update Like model 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault 4e51fbd5eb Add soft-deletes 9 years ago
Daniel Supernault 3ec93d096c Add LikePipeline and like notifications 9 years ago
Daniel Supernault 5d710d5574 Add like model, migration and controller 9 years ago