From c7cf77a1152144adbcf72ebabb924fd2a5c257c3 Mon Sep 17 00:00:00 2001 From: Kevin Ditscheid <kevin.ditscheid@sgalinski.de> Date: Thu, 30 Jul 2020 10:01:19 +0200 Subject: [PATCH] [TASK] Replace @lazy with proper annotation namespace --- Classes/Domain/Model/Author.php | 2 +- Classes/Domain/Model/CategoryAndNews.php | 4 ++-- Classes/Domain/Model/News.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Classes/Domain/Model/Author.php b/Classes/Domain/Model/Author.php index a814b87..4159a58 100644 --- a/Classes/Domain/Model/Author.php +++ b/Classes/Domain/Model/Author.php @@ -60,7 +60,7 @@ class Author extends AbstractEntity { protected $description = ''; /** - * @lazy + * @TYPO3\CMS\Extbase\Annotation\ORM\Lazy * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference */ protected $image; diff --git a/Classes/Domain/Model/CategoryAndNews.php b/Classes/Domain/Model/CategoryAndNews.php index 9db905d..e4be82f 100644 --- a/Classes/Domain/Model/CategoryAndNews.php +++ b/Classes/Domain/Model/CategoryAndNews.php @@ -56,13 +56,13 @@ abstract class CategoryAndNews extends AbstractEntity { protected $sorting = 0; /** - * @lazy + * @TYPO3\CMS\Extbase\Annotation\ORM\Lazy * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> */ protected $teaser1Image; /** - * @lazy + * @TYPO3\CMS\Extbase\Annotation\ORM\Lazy * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> */ protected $teaser2Image; diff --git a/Classes/Domain/Model/News.php b/Classes/Domain/Model/News.php index edc21d0..f6e06c1 100644 --- a/Classes/Domain/Model/News.php +++ b/Classes/Domain/Model/News.php @@ -66,7 +66,7 @@ class News extends CategoryAndNews { protected $creationDate; /** - * @lazy + * @TYPO3\CMS\Extbase\Annotation\ORM\Lazy * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\SGalinski\SgNews\Domain\Model\News> */ protected $relatedNews; @@ -77,7 +77,7 @@ class News extends CategoryAndNews { protected $tags; /** - * @lazy + * @TYPO3\CMS\Extbase\Annotation\ORM\Lazy * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\SGalinski\SgNews\Domain\Model\Author> */ protected $newsAuthor; -- GitLab