diff --git a/core/modules/block/block.module b/core/modules/block/block.module
index 3ae77ab6c3ec7a37425ff5230805c53e25ccdfbb..a08254abea410e491aaca4c57edf0a61bb745320 100644
--- a/core/modules/block/block.module
+++ b/core/modules/block/block.module
@@ -288,7 +288,7 @@ function _block_get_renderable_region($list = array()) {
   // to other users. We therefore exclude user 1 from block caching.
   $not_cacheable = Drupal::currentUser()->id() == 1 ||
     count(Drupal::moduleHandler()->getImplementations('node_grants')) ||
-    !\Drupal::request()->isMethodSafe();
+    !Drupal::request()->isMethodSafe();
 
   foreach ($list as $key => $block) {
     $settings = $block->get('settings');