diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php index 0e7caa39ae694abdaf7a01f006d98735f9941aef..1e002a13b0e9db04dada356bda0d6479a791ad67 100644 --- a/sites/default/default.settings.php +++ b/sites/default/default.settings.php @@ -88,7 +88,7 @@ * ); * @endcode */ -$databases = array(); +$databases = []; /** * Customizing database settings. @@ -251,7 +251,7 @@ * ); * @endcode */ -$config_directories = array(); +$config_directories = []; /** * Settings: @@ -379,7 +379,7 @@ * Specify every reverse proxy IP address in your environment. * This setting is required if $settings['reverse_proxy'] is TRUE. */ -# $settings['reverse_proxy_addresses'] = array('a.b.c.d', ...); +# $settings['reverse_proxy_addresses'] = ['a.b.c.d', ...]; /** * Set this value if your proxy server sends the client IP in a header @@ -573,10 +573,10 @@ * The "en" part of the variable name, is dynamic and can be any langcode of * any added language. (eg locale_custom_strings_de for german). */ -# $settings['locale_custom_strings_en'][''] = array( +# $settings['locale_custom_strings_en'][''] = [ # 'forum' => 'Discussion board', # '@count min' => '@count minutes', -# ); +# ]; /** * A custom theme for the offline page: @@ -630,7 +630,7 @@ * override in a services.yml file in the same directory as settings.php * (definitions in this file will override service definition defaults). */ -# $settings['bootstrap_config_storage'] = array('Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage'); +# $settings['bootstrap_config_storage'] = ['Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage']; /** * Configuration overrides. diff --git a/sites/example.sites.php b/sites/example.sites.php index e4de67eb99183a5e79da979085bb687b188d0fee..daaf68272a50ba90845ccda2eed1c3c405f3739f 100644 --- a/sites/example.sites.php +++ b/sites/example.sites.php @@ -26,9 +26,9 @@ * example, to map https://www.drupal.org:8080/mysite/test to the configuration * directory sites/example.com, the array should be defined as: * @code - * $sites = array( + * $sites = [ * '8080.www.drupal.org.mysite.test' => 'example.com', - * ); + * ]; * @endcode * The URL, https://www.drupal.org:8080/mysite/test/, could be a symbolic link * or an Apache Alias directive that points to the Drupal root containing