Skip to content
Snippets Groups Projects

Issue #3339557: Fix coding standards

Merged Patrick Kenny requested to merge issue/jsonrpc-3339557:coding_standards into 2.x
All threads resolved!
Files
15
@@ -28,7 +28,7 @@ class AddPermissionToRole extends UserPermissionsBase {
*/
public function execute(ParameterBag $params) {
$permission = $params->get('permission');
/* @var \Drupal\user\RoleInterface $role */
/** @var \Drupal\user\RoleInterface $role */
$role = $params->get('role');
try {
$role->grantPermission($permission);
Loading