diff --git a/templates/settings.php.twig b/templates/settings.php.twig
index 655236745699bec4c04aba3e844c72d8f93da826..efb64be2f62a09282dec6044b9b34ea248c13a5d 100644
--- a/templates/settings.php.twig
+++ b/templates/settings.php.twig
@@ -1,8 +1,8 @@
 <?php
 
-$databases = array (
-  'default' => array (
-    'default' => array (
+$databases = [
+  'default' => [
+    'default' => [
       'driver' => '{{ db.driver }}',
       'namespace' => '{{ db.namespace }}',
       'database' => '{{ db.host }}',
@@ -13,9 +13,9 @@ $databases = array (
       'prefix' => '{{ db.prefix }}',
       'charset' => 'utf8mb4',
       'collation' => 'utf8mb4_general_ci',
-    ),
-  ),
-);
+    ],
+  ],
+];
 
 {% if drupal8 %}
 $config_directories['sync'] = 'sites/default/files/config/sync';
@@ -31,9 +31,9 @@ $settings['file_temp_path'] = '/tmp';
 $settings['file_assets_path'] = '{{ file_assets_path }}';
 {% endif %}
 $settings['hash_salt'] = '{{ hash }}';
-$settings['trusted_host_patterns'] = array(
+$settings['trusted_host_patterns'] = [
   '^{{ domain }}$',
-);
+];
 
 if (file_exists(__DIR__ . '/settings.local.php')) {
   include __DIR__ . '/settings.local.php';