Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Revert "Og::isGroup() accepts only strings as arguments."
Browse files Browse the repository at this point in the history
This reverts commit 7e1790c. This change is
being handled in #733.
  • Loading branch information
pfrenssen committed Dec 19, 2021
1 parent ec73e8c commit 17ed5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Og.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public static function isMemberBlocked(EntityInterface $group, AccountInterface
* @return bool
* True or false if the given entity is group.
*/
public static function isGroup(string $entity_type_id, string $bundle_id): bool {
public static function isGroup($entity_type_id, $bundle_id) {
return static::groupTypeManager()->isGroup($entity_type_id, $bundle_id);
}

Expand Down

0 comments on commit 17ed5d5

Please sign in to comment.