fix compatibility with php72

This commit is contained in:
xiaomlove
2021-01-04 20:47:22 +08:00
parent d8a3f5270f
commit 752e26000c
6 changed files with 40 additions and 34 deletions

View File

@@ -14,11 +14,11 @@ interface DBInterface
public function selectDb($database);
public function fetchAssoc($result): array|null;
public function fetchAssoc($result);
public function fetchRow($result): array|null;
public function fetchRow($result);
public function fetchArray($result, $type): array|null;
public function fetchArray($result, $type);
public function affectedRows(): int;