diff --git a/Source/API/script/Gateway/GatewayKeyword.php b/Source/API/script/Gateway/GatewayKeyword.php index 37bd310..d33f166 100644 --- a/Source/API/script/Gateway/GatewayKeyword.php +++ b/Source/API/script/Gateway/GatewayKeyword.php @@ -41,7 +41,7 @@ class GatewayKeyword public function getKeywordsContentByReference(int $id): array { - $query = "SELECT k.* FROM Keyword k, Reference r + $query = "SELECT k.* FROM Keyword k, Reference r WHERE k.word = r.keyword AND r.possibleResponse = :id"; $this->connection->executeQuery($query, array( ':id' => array($id, PDO::PARAM_STR) @@ -49,11 +49,10 @@ class GatewayKeyword $tab = []; - foreach ($this->connection->getResults() as $result) - { + foreach ($this->connection->getResults() as $result) { $tab[] = $result["word"]; } return $tab; } -} \ No newline at end of file +}