diff --git a/src/Dravencms/Model/FileDownload/Entities/DownloadFileTranslation.php b/src/Dravencms/Model/FileDownload/Entities/DownloadFileTranslation.php index af4d0af..de35e20 100644 --- a/src/Dravencms/Model/FileDownload/Entities/DownloadFileTranslation.php +++ b/src/Dravencms/Model/FileDownload/Entities/DownloadFileTranslation.php @@ -95,7 +95,7 @@ public function setDescription($description) /** * @param StructureFile $structureFile */ - public function setStructureFile(StructureFile $structureFile) + public function setStructureFile(StructureFile $structureFile = null) { $this->structureFile = $structureFile; } @@ -155,4 +155,4 @@ public function getStructureFile() { return $this->structureFile; } -} \ No newline at end of file +}