From 17ed5d5312fd964105d56cf10d6ff3789ead13eb Mon Sep 17 00:00:00 2001 From: Pieter Frenssen Date: Sun, 19 Dec 2021 12:48:28 +0200 Subject: [PATCH] Revert "Og::isGroup() accepts only strings as arguments." This reverts commit 7e1790c8711c1ddb01a282573662a1cf4c37d8ce. This change is being handled in #733. --- src/Og.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Og.php b/src/Og.php index 980d4dcb5..26bca32a4 100644 --- a/src/Og.php +++ b/src/Og.php @@ -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); }