Skip to content

Commit

Permalink
fix: initialize properties in FileMetaDataTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
TiSiE committed Aug 5, 2021
1 parent 6d2a74b commit a849534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Core/src/Entity/FileMetadataTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ trait FileMetadataTrait
/**
* @ODM\Field(type="string", nullable=true)
*/
protected ?string $userToken;
protected ?string $userToken = null;

protected ?AnonymousUser $anonymousUser;
protected ?AnonymousUser $anonymousUser = null;

/**
* @ODM\EmbedOne(targetDocument="Core\Entity\Permissions")
Expand Down

0 comments on commit a849534

Please sign in to comment.