diff --git a/.drone.yml b/.drone.yml index 24ba1bb..844537e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -65,4 +65,6 @@ steps: from_secret: db_user CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: from_secret: db_password + ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal + diff --git a/Source/API/script/Gateway/GatewayKeyword.php b/Source/API/script/Gateway/GatewayKeyword.php index e98b567..91c169f 100644 --- a/Source/API/script/Gateway/GatewayKeyword.php +++ b/Source/API/script/Gateway/GatewayKeyword.php @@ -17,7 +17,8 @@ class GatewayKeyword $this->connection = (new ConnectClass)->connect(); }catch(PDOException $e){ throw new PDOException(); - } } + } + } public function insertKeyword(array $keyword): void { diff --git a/Source/API/script/index.php b/Source/API/script/index.php index 33a070f..4852b0c 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -41,7 +41,7 @@ $app->get('/', function (Request $request, Response $response) { $ok = false; foreach ($listGateway as $gateway){ try { - echo implode(",", get_class_methods((new $gateway))); + echo implode("\n", get_class_methods((new $gateway))); if (method_exists($gateway, $method)) { $ok = true; $response->getBody()->write(json_encode((new $gateway)->$method($parameters)));