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