mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-09 08:48:26 +01:00
Applied rector with PHP8.1 migration rules
This commit is contained in:
@@ -54,7 +54,7 @@ use Symfony\Component\HttpFoundation\IpUtils;
|
||||
#[ORM\Entity]
|
||||
class SecurityEventLogEntry extends AbstractLogEntry
|
||||
{
|
||||
public const SECURITY_TYPE_MAPPING = [
|
||||
final public const SECURITY_TYPE_MAPPING = [
|
||||
0 => SecurityEvents::PASSWORD_CHANGED,
|
||||
1 => SecurityEvents::PASSWORD_RESET,
|
||||
2 => SecurityEvents::BACKUP_KEYS_RESET,
|
||||
|
||||
Reference in New Issue
Block a user