Return value EntityAccessGroup must be type bool

Created on 15 February 2023, almost 2 years ago

TypeError: Return value of Drupal\entity_access_groups\Entity\EntityAccessGroup::userReferencedContentAccessRestrict() must be of the type bool, int returned in Drupal\entity_access_groups\Entity\EntityAccessGroup->userReferencedContentAccessRestrict()

I was getting this error above with the module when trying to create entity_access_group. I believe it to be an easy fix where we need to return an actual boolean.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States grgcrlsn321

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024