浏览代码

FD3-576 fix array

Guillermo Espinoza 7 年之前
父节点
当前提交
48f3b2022e
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/KeaBundle/Services/BaseKea.php

+ 7 - 7
src/KeaBundle/Services/BaseKea.php

@@ -45,8 +45,8 @@ class BaseKea implements KeaConfigInterface
                 'arguments' => array(
                     'Dhcp4' => [
                         'control-socket' => $this->controlSocketConfig(),
-                        'lease-database' =>$this->leaseDatabaseConfig(),
-                        'hosts-database' =>$this->leaseDatabaseConfig(),
+                        'lease-database' => $this->leaseDatabaseConfig(),
+                        'hosts-database' => $this->leaseDatabaseConfig(),
                         'subnet4' => $this->subnet4,
                         'hooks-libraries' => $this->hooks_libraries,
                         'interfaces-config' => $this->getInterfacesConfig(),
@@ -185,11 +185,11 @@ class BaseKea implements KeaConfigInterface
     {
         if ($type == 'mysql') {
             $config = array(
-                "host": "mysql",
-                "name": "kea",
-                "user": "root",
-                "password": getenv('MYSQL_ROOT_PASSWORD'),
-                "type": "mysql",
+                "host" => "mysql",
+                "name" => "kea",
+                "user" => "root",
+                "password" => getenv('MYSQL_ROOT_PASSWORD'),
+                "type" => "mysql",
             );
         } elseif ($type == 'memfile') {
             $config = array(