diff -u b/core/modules/media/src/MediaPermissions.php b/core/modules/media/src/MediaPermissions.php --- b/core/modules/media/src/MediaPermissions.php +++ b/core/modules/media/src/MediaPermissions.php @@ -24,11 +24,11 @@ /** * MediaPermissions constructor. * - * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager + * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * The entity type manager service. */ - public function __construct(EntityTypeManagerInterface $entityTypeManager) { - $this->entityTypeManager = $entityTypeManager; + public function __construct(EntityTypeManagerInterface $entity_type_manager) { + $this->entityTypeManager = $entity_type_manager; } /** diff -u b/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php b/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php --- b/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php +++ b/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php @@ -38,7 +38,6 @@ 'create media', ]); - // Run updates. $this->runUpdates(); /** @var \Drupal\user\RoleInterface $role */