diff --git a/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
index e70dee544a57a4338992b315dbdd2733ee23ea5e..3c3126d94acba0a4c0ce4497640d9a71526abd21 100644
--- a/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
+++ b/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
@@ -17,7 +17,7 @@
  */
 class FinishResponseSubscriber implements EventSubscriberInterface {
 
-  private $language_manager;
+  protected $language_manager;
 
   public function __construct(LanguageManager $language_manager) {
     $this->language_manager = $language_manager;