Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit a0dffba

Browse files
authored
Merge pull request #4 from marcoboers/fix/nullable-ttl
Fix nullable ttl
2 parents a9b0e1f + 15dbf86 commit a0dffba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Objects/Record.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ class Record extends BaseRecord
1212
public string $id;
1313
public Carbon $created;
1414
public Carbon $modified;
15-
public int $ttl;
15+
// Hetzner does not return the ttl for a record when it is not explicitly set and uses the zone default
16+
public ?int $ttl = null;
1617
}

0 commit comments

Comments
 (0)