From 64ee17e6d6ba29d243d0e50f622c150497f6cb5f Mon Sep 17 00:00:00 2001 From: catch Date: Mon, 29 Jul 2019 09:26:07 +0100 Subject: [PATCH] Issue #3068971 by christinlepson, joachim: error in param docs for UserCreationTrait::grantPermissions() --- core/modules/user/tests/src/Traits/UserCreationTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/user/tests/src/Traits/UserCreationTrait.php b/core/modules/user/tests/src/Traits/UserCreationTrait.php index 956bd3d7826..9d687fd4e5c 100644 --- a/core/modules/user/tests/src/Traits/UserCreationTrait.php +++ b/core/modules/user/tests/src/Traits/UserCreationTrait.php @@ -322,7 +322,7 @@ trait UserCreationTrait { * Grant permissions to a user role. * * @param \Drupal\user\RoleInterface $role - * The ID of a user role to alter. + * The user role entity to alter. * @param array $permissions * (optional) A list of permission names to grant. */