multicaret / laravel-acquaintances

This package gives Eloquent models the ability to manage friendships (with groups), followships along with Likes, favorites..etc.
https://laravel-news.com/manage-friendships-likes-and-more-with-the-acquaintances-laravel-package
MIT License
814 stars 72 forks source link

getPendingsCount doesn't exist #91

Closed prawn185 closed 1 year ago

prawn185 commented 1 year ago

getPendingsCount() so I can't get a count of pending friendship requests as per the documentation

I've solved the issue by: $user->getFriendRequests()->count()

prawn185 commented 1 year ago

First time doing a pull request for the public repo :octocat: #92

mkwsra commented 1 year ago

Great job, thanks for your contribution 🙌