mirror of
https://github.com/twisterarmy/cloud-server.git
synced 2025-03-13 05:51:46 +00:00
fix data types
This commit is contained in:
parent
abd9787fae
commit
62c11ea439
@ -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) {
|
||||
|
||||
try {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user