diff --git a/group/classes/hook/after_group_created.php b/group/classes/hook/after_group_created.php index c4624db28ae..d2db5066380 100644 --- a/group/classes/hook/after_group_created.php +++ b/group/classes/hook/after_group_created.php @@ -28,13 +28,13 @@ use stdClass; #[\core\attribute\label('Allows plugins or features to perform actions after a group is created.')] #[\core\attribute\tags('group')] class after_group_created { - /** * Constructor for the hook. * * @param stdClass $groupinstance The group instance. */ public function __construct( + /** @var stdClass The group instance */ public readonly stdClass $groupinstance, ) { } diff --git a/group/classes/hook/after_group_deleted.php b/group/classes/hook/after_group_deleted.php index fc63fc507ea..447d52e63fb 100644 --- a/group/classes/hook/after_group_deleted.php +++ b/group/classes/hook/after_group_deleted.php @@ -28,13 +28,13 @@ use stdClass; #[\core\attribute\label('Allows plugins or features to perform actions after a group is deleted.')] #[\core\attribute\tags('group')] class after_group_deleted { - /** * Constructor for the hook. * * @param stdClass $groupinstance The group instance. */ public function __construct( + /** @var stdClass The group instance */ public readonly stdClass $groupinstance, ) { } diff --git a/group/classes/hook/after_group_membership_added.php b/group/classes/hook/after_group_membership_added.php index 054ff7ba294..71588ee1891 100644 --- a/group/classes/hook/after_group_membership_added.php +++ b/group/classes/hook/after_group_membership_added.php @@ -28,7 +28,6 @@ use stdClass; #[\core\attribute\label('Allows plugins or features to perform actions after members added to the group.')] #[\core\attribute\tags('group', 'user')] class after_group_membership_added { - /** * Constructor for the hook. * @@ -36,7 +35,9 @@ class after_group_membership_added { * @param array $userids The user ids. */ public function __construct( + /** @var stdClass The group instance */ public readonly stdClass $groupinstance, + /** @var array The user ids */ public readonly array $userids, ) { } diff --git a/group/classes/hook/after_group_membership_removed.php b/group/classes/hook/after_group_membership_removed.php index 7300883182a..566962ce8e2 100644 --- a/group/classes/hook/after_group_membership_removed.php +++ b/group/classes/hook/after_group_membership_removed.php @@ -28,7 +28,6 @@ use stdClass; #[\core\attribute\label('Allows plugins or features to perform actions after members removed from the group.')] #[\core\attribute\tags('group', 'user')] class after_group_membership_removed { - /** * Constructor for the hook. * @@ -36,7 +35,9 @@ class after_group_membership_removed { * @param array $userids The user ids. */ public function __construct( + /** @var stdClass The group instance */ public readonly stdClass $groupinstance, + /** @var array The user ids */ public readonly array $userids, ) { } diff --git a/group/classes/hook/after_group_updated.php b/group/classes/hook/after_group_updated.php index 1a861c297ae..2ea5050eaea 100644 --- a/group/classes/hook/after_group_updated.php +++ b/group/classes/hook/after_group_updated.php @@ -28,13 +28,13 @@ use stdClass; #[\core\attribute\label('Allows plugins or features to perform actions after a group is updated.')] #[\core\attribute\tags('group')] class after_group_updated { - /** * Constructor for the hook. * * @param stdClass $groupinstance The group instance. */ public function __construct( + /** @var stdClass The group instance */ public readonly stdClass $groupinstance, ) { }