Skip to content

Commit

Permalink
Merge pull request #66 from bluestormdesign/laravel-11-fix
Browse files Browse the repository at this point in the history
Fixed connection issues for Laravel 11
  • Loading branch information
dcblogdev authored Jun 12, 2024
2 parents d916921 + 8228972 commit 081acbb
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 081acbb

Please sign in to comment.