Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Extension / ModuleHandler.php
index cfbaa61a8e4129acb5818ab59df108943c6d9750..d8d36088accd7254650809a05e03c7d7a129cbe7 100644 (file)
@@ -106,7 +106,7 @@ class ModuleHandler implements ModuleHandlerInterface {
    * @see \Drupal\Core\DrupalKernel
    * @see \Drupal\Core\CoreServiceProvider
    */
-  public function __construct($root, array $module_list = [], CacheBackendInterface $cache_backend) {
+  public function __construct($root, array $module_list, CacheBackendInterface $cache_backend) {
     $this->root = $root;
     $this->moduleList = [];
     foreach ($module_list as $name => $module) {