diff --git a/Classes/Domain/Model/Event.php b/Classes/Domain/Model/Event.php index 4b9a2bd..a613211 100644 --- a/Classes/Domain/Model/Event.php +++ b/Classes/Domain/Model/Event.php @@ -174,7 +174,7 @@ class Event extends AbstractEntity /** * images * - * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference + * @var ObjectStorage * @Extbase\ORM\Cascade remove */ protected $images = null; @@ -578,15 +578,15 @@ class Event extends AbstractEntity } /** - * @return FileReference $images + * @return ObjectStorage $images */ - public function getImages() + public function getImages(): ObjectStorage { return $this->images; } /** - * @param FileReference $images + * @param ObjectStorage $images * @return void */ public function setImages(FileReference $images) diff --git a/Configuration/TCA/tx_events_domain_model_event.php b/Configuration/TCA/tx_events_domain_model_event.php index 0a4c0b9..a7de672 100644 --- a/Configuration/TCA/tx_events_domain_model_event.php +++ b/Configuration/TCA/tx_events_domain_model_event.php @@ -240,7 +240,7 @@ return [ 'config' => [ 'type' => 'text', 'enableRichtext' => true, - 'richtextConfiguration' => 'default', + 'richtextConfiguration' => 'Default', 'fieldControl' => [ 'fullScreenRichtext' => [ 'disabled' => false,