fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
+5 -4
View File
@@ -2,6 +2,8 @@
namespace App\Models;
use App\Models\BaseModel;
class IpAttempt extends BaseModel
{
protected $table = 'ip_attempts';
@@ -19,9 +21,9 @@ class IpAttempt extends BaseModel
];
protected $casts = [
'attempts' => 'integer',
'attempts' => 'integer',
'last_attempt_at' => 'datetime',
'blocked_until' => 'datetime',
'blocked_until' => 'datetime',
];
/**
@@ -51,7 +53,6 @@ class IpAttempt extends BaseModel
public static function insertIpAttempt(array $data): int
{
$row = static::query()->create($data);
return (int) $row->id;
}
}
}