This commit is contained in:
2021-01-19 18:37:38 +08:00
parent 9d9135d92c
commit 65346d1b3c
+5 -3
View File
@@ -56,9 +56,11 @@ class Gii
*/
public function run(?Connection $db, $input): array
{
return [go(function () use ($db, $input) {
return $this->gen($db, $input);
})];
return [
go(function () use ($db, $input) {
return $this->gen($input, $db);
})
];
}