Skip to content

Commit 19b1010

Browse files
committed
Fix default
1 parent 364ba1b commit 19b1010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function getId(): string
6666
*/
6767
public function getSequence(): int
6868
{
69-
return $this->getAttribute('$sequence', '');
69+
return $this->getAttribute('$sequence', 0);
7070
}
7171

7272
/**

0 commit comments

Comments
 (0)