13 lines
213 B
PHP
13 lines
213 B
PHP
|
<?php
|
||
|
|
||
|
namespace User;
|
||
|
|
||
|
use Core\Db;
|
||
|
|
||
|
class StatsModel
|
||
|
{
|
||
|
public static function addRepexpById(int $id, int $val)
|
||
|
{
|
||
|
Db::sql('update stats set repexp = repexp + ? where id = ?', [$val, $id]);
|
||
|
}
|
||
|
}
|