Skip to content

Commit d07d494

Browse files
fix(file): use nullable status property default
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 6c0d419 commit d07d494

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Db/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class File extends Entity {
5353
protected string $uuid = '';
5454
protected ?\DateTime $createdAt = null;
5555
protected string $name = '';
56-
protected ?int $status = FileStatus::DRAFT->value;
56+
protected ?int $status = null;
5757
protected ?string $userId = null;
5858
protected ?int $signedNodeId = null;
5959
protected ?string $signedHash = null;

0 commit comments

Comments
 (0)