Skip to content

Commit 8fab15c

Browse files
matiasperrone-exoCopilot
andcommitted
chore: Add PR's requested changes
Co-authored-by: Copilot <copilot@github.com>
1 parent 4624ff5 commit 8fab15c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

app/libs/Auth/Models/TwoFactorAuditLog.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,4 @@ public function getMetadata(): ?array { return $this->metadata; }
8888
public function setMetadata(?array $value): void { $this->metadata = $value; }
8989

9090
public function getCreatedAt(): \DateTime { return $this->created_at; }
91-
92-
public function __get($name) { return $this->{$name}; }
9391
}

app/libs/Auth/Models/UserTrustedDevice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public function setUserAgent(string $value): void { $this->user_agent = $value;
7373
public function getTrustedAt(): \DateTime { return $this->trusted_at; }
7474
public function setTrustedAt(\DateTime $value): void { $this->trusted_at = $value; }
7575

76-
public function getExpiresAt(): \DateTime { return $this->expires_at; }
77-
public function setExpiresAt(\DateTime $value): void { $this->expires_at = $value; }
76+
public function getExpiresAt(): ?\DateTime { return $this->expires_at; }
77+
public function setExpiresAt(?\DateTime $value): void { $this->expires_at = $value; }
7878

7979
public function getLastSeenAt(): \DateTime { return $this->last_seen_at; }
8080
public function setLastSeenAt(\DateTime $value): void { $this->last_seen_at = $value; }

0 commit comments

Comments
 (0)