Uncaught TypeError: Argument 1 passed to User::snatItem() must be of the type int, null given
This commit is contained in:
parent
f3bee1c3ac
commit
557921edfa
@ -9097,7 +9097,7 @@ LIMIT 1'
|
||||
}
|
||||
}
|
||||
|
||||
public function snatItem(int $id, int $uid = 0): int
|
||||
public function snatItem(?int $id, int $uid = 0): int
|
||||
{
|
||||
if (empty($id)) {
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user