diff --git a/src/application/model/block.php b/src/application/model/block.php index 3e5234c..02ee851 100644 --- a/src/application/model/block.php +++ b/src/application/model/block.php @@ -17,7 +17,7 @@ class ModelBlock extends Model { } } - public function addBlock(int $hash, int $time) { + public function addBlock(string $hash, int $time) { try { diff --git a/src/application/model/user.php b/src/application/model/user.php index ab4f3b0..f9da70f 100644 --- a/src/application/model/user.php +++ b/src/application/model/user.php @@ -19,7 +19,7 @@ class ModelUser extends Model { } } - public function addUser(int $blockId, int $userName) { + public function addUser(int $blockId, string $userName) { try {