We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d69e68e commit 129c018Copy full SHA for 129c018
Controllers/SearchController.php
@@ -12,6 +12,8 @@ function index(array $params): void // Just echo something
12
13
$data = json_decode(file_get_contents(__DIR__."/../dict.json"), true);
14
15
+ $result = [];
16
+
17
if (json_last_error() === JSON_ERROR_NONE && is_array($data)){
18
19
$word = strtolower($params["word"]);
0 commit comments