From f3b26e35ee2e8f3e68e0bb57a0ea227ebd91cf58 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sun, 14 Dec 2014 16:17:44 +0100 Subject: [PATCH] [CLEANUP] boolean -> bool, integer -> int --- Classes/Domain/Model/Addition.php | 6 +++--- Classes/Domain/Model/TeaType.php | 14 +++++++------- Classes/Domain/Model/Testimonial.php | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Classes/Domain/Model/Addition.php b/Classes/Domain/Model/Addition.php index 6fc6fcb..4a11f68 100644 --- a/Classes/Domain/Model/Addition.php +++ b/Classes/Domain/Model/Addition.php @@ -21,20 +21,20 @@ namespace OliverKlee\Tea\Domain\Model; */ class Addition extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject { /** - * @var \string + * @var string * @validate NotEmpty */ protected $title = ''; /** - * @return \string $title + * @return string $title */ public function getTitle() { return $this->title; } /** - * @param \string $title + * @param string $title * * @return void */ diff --git a/Classes/Domain/Model/TeaType.php b/Classes/Domain/Model/TeaType.php index 429af83..9613b67 100644 --- a/Classes/Domain/Model/TeaType.php +++ b/Classes/Domain/Model/TeaType.php @@ -21,25 +21,25 @@ namespace OliverKlee\Tea\Domain\Model; */ class TeaType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { /** - * @var \string + * @var string * @validate NotEmpty */ protected $title = ''; /** - * @var boolean + * @var bool */ protected $caffeinated = FALSE; /** - * @return \string $title + * @return string $title */ public function getTitle() { return $this->title; } /** - * @param \string $title + * @param string $title * * @return void */ @@ -48,14 +48,14 @@ class TeaType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { } /** - * @return boolean $caffeinated + * @return bool $caffeinated */ public function getCaffeinated() { return $this->caffeinated; } /** - * @param boolean $caffeinated + * @param bool $caffeinated * * @return void */ @@ -64,7 +64,7 @@ class TeaType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { } /** - * @return boolean + * @return bool */ public function isCaffeinated() { return $this->getCaffeinated(); diff --git a/Classes/Domain/Model/Testimonial.php b/Classes/Domain/Model/Testimonial.php index f118545..0937d06 100644 --- a/Classes/Domain/Model/Testimonial.php +++ b/Classes/Domain/Model/Testimonial.php @@ -26,7 +26,7 @@ class Testimonial extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { protected $dateOfPosting = NULL; /** - * @var integer + * @var int */ protected $numberOfConsumedCups = 0; @@ -52,14 +52,14 @@ class Testimonial extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { } /** - * @return integer $numberOfConsumedCups + * @return int $numberOfConsumedCups */ public function getNumberOfConsumedCups() { return $this->numberOfConsumedCups; } /** - * @param integer $numberOfConsumedCups + * @param int $numberOfConsumedCups * * @return void */