Skip to content

Commit

Permalink
Fixed connection issues for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Mekina committed Jun 12, 2024
1 parent d916921 commit 8228972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/XeroToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class XeroToken extends Model
protected function expires(): Attribute
{
return Attribute::get(
fn(): DateTimeInterface => $this->updated_at->addSeconds($this->expires_in)
fn(): DateTimeInterface => $this->updated_at->addSeconds((int)$this->expires_in)
);
}

Expand Down

0 comments on commit 8228972

Please sign in to comment.