From 7696a7b97e5ca8cf66e808bdcf02b814815e22bb Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 11 Dec 2014 14:16:47 +0100 Subject: [PATCH] [BUGFIX] Fix types in @var and @param. --- Classes/Controller/TestimonialController.php | 2 +- Classes/Domain/Model/TeaBeverage.php | 4 ++-- Tests/Unit/Controller/TestimonialControllerTest.php | 4 ++-- Tests/Unit/Domain/Repository/TeaBeverageRepositoryTest.php | 2 +- Tests/Unit/Domain/Repository/TestimonialRepositoryTest.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Classes/Controller/TestimonialController.php b/Classes/Controller/TestimonialController.php index e2a3492..fe68358 100644 --- a/Classes/Controller/TestimonialController.php +++ b/Classes/Controller/TestimonialController.php @@ -56,7 +56,7 @@ class TestimonialController extends ActionController { * * @param \TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view * - * @return view + * @return void */ public function setView(ViewInterface $view) { $this->view = $view; diff --git a/Classes/Domain/Model/TeaBeverage.php b/Classes/Domain/Model/TeaBeverage.php index 618fcf6..dbfcb4b 100644 --- a/Classes/Domain/Model/TeaBeverage.php +++ b/Classes/Domain/Model/TeaBeverage.php @@ -102,7 +102,7 @@ class TeaBeverage extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { } /** - * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverKlee\Tea\Domain\Model\Addition> $additions + * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $additions * * @return void */ @@ -140,7 +140,7 @@ class TeaBeverage extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { } /** - * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverKlee\Tea\Domain\Model\Testimonial> $testimonials + * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $testimonials * * @return void */ diff --git a/Tests/Unit/Controller/TestimonialControllerTest.php b/Tests/Unit/Controller/TestimonialControllerTest.php index b774b4b..c98331c 100644 --- a/Tests/Unit/Controller/TestimonialControllerTest.php +++ b/Tests/Unit/Controller/TestimonialControllerTest.php @@ -31,12 +31,12 @@ class TestimonialControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { protected $subject = NULL; /** - * @var ViewInterface + * @var ViewInterface|\PHPUnit_Framework_MockObject_MockObject */ protected $view = NULL; /** - * @var TestimonialRepository + * @var TestimonialRepository|\PHPUnit_Framework_MockObject_MockObject */ protected $testimonialRepository = NULL; diff --git a/Tests/Unit/Domain/Repository/TeaBeverageRepositoryTest.php b/Tests/Unit/Domain/Repository/TeaBeverageRepositoryTest.php index c4f964a..b944465 100644 --- a/Tests/Unit/Domain/Repository/TeaBeverageRepositoryTest.php +++ b/Tests/Unit/Domain/Repository/TeaBeverageRepositoryTest.php @@ -26,7 +26,7 @@ class TeaBeverageRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { protected $subject; /** - * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface|PHPUnit_Framework_MockObject_MockObject + * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface|\PHPUnit_Framework_MockObject_MockObject */ protected $objectManager = NULL; diff --git a/Tests/Unit/Domain/Repository/TestimonialRepositoryTest.php b/Tests/Unit/Domain/Repository/TestimonialRepositoryTest.php index 820082d..fd78df6 100644 --- a/Tests/Unit/Domain/Repository/TestimonialRepositoryTest.php +++ b/Tests/Unit/Domain/Repository/TestimonialRepositoryTest.php @@ -26,7 +26,7 @@ class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { protected $subject; /** - * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface|PHPUnit_Framework_MockObject_MockObject + * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface|\PHPUnit_Framework_MockObject_MockObject */ protected $objectManager = NULL;