Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix Role::withCount if belongsToMany declared #2280

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

xenaio-daniil
Copy link
Contributor

fixes #2277

Fixed RoleWithNestingTest as it expected integer from withCount, but string provided by older version's of framework
@drbyte drbyte merged commit b881a07 into spatie:main Feb 8, 2023
@drbyte
Copy link
Collaborator

drbyte commented Feb 8, 2023

Thanks.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Role::getTable() method brokes withCount method
3 participants