fix data types

This commit is contained in:
ghost 2021-12-28 22:57:16 +02:00
parent abd9787fae
commit 62c11ea439
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class ModelBlock extends Model {
} }
} }
public function addBlock(int $hash, int $time) { public function addBlock(string $hash, int $time) {
try { try {

View File

@ -19,7 +19,7 @@ class ModelUser extends Model {
} }
} }
public function addUser(int $blockId, int $userName) { public function addUser(int $blockId, string $userName) {
try { try {