From b28328b772584aaf8c2ee519eefd82e9e9472649 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 27 Feb 2020 13:05:31 +0000 Subject: [PATCH] Issue #3020296 followup by mondrake: Remove Symfony's classloader as it does not exist in Symfony 4 --- core/lib/Drupal/Core/DrupalKernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 68e166ce3121..414357fecffa 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -473,7 +473,7 @@ public function boot() { if (Settings::get('class_loader_auto_detect', TRUE) && method_exists($this->classLoader, 'setApcuPrefix')) { // Vary the APCu key by which modules are installed to allow // class_exists() checks to determine functionality. - $id = 'class_loader:' . crc32(implode(array_keys($this->container->getParameter('container.modules')), ':')); + $id = 'class_loader:' . crc32(implode(':', array_keys($this->container->getParameter('container.modules')))); $prefix = Settings::getApcuPrefix($id, $this->root); $this->classLoader->setApcuPrefix($prefix); } -- GitLab