Browse Source

fix data types

main
ghost 3 years ago
parent
commit
62c11ea439
  1. 2
      src/application/model/block.php
  2. 2
      src/application/model/user.php

2
src/application/model/block.php

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

2
src/application/model/user.php

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

Loading…
Cancel
Save