Skip to content

Commit

Permalink
[BUGFIX] #23 - change validate annotation syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lorenz committed Aug 17, 2018
1 parent 490d848 commit eb23ced
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
3.0.2
2018-08-16
2018-08-17
Daniel Lorenz <https://github.com/extcode>

* TASK #23: refactor extension manager warnings
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Company extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
* Name
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $name;

Expand Down
4 changes: 2 additions & 2 deletions Classes/Domain/Model/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ class Contact extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
* First Name
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $firstName;

/**
* Last Name
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $lastName;

Expand Down
8 changes: 4 additions & 4 deletions Classes/Domain/Model/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ class Country extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
* Iso2
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $iso2 = '';

/**
* Iso3
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $iso3 = '';

/**
* Name
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $name = '';

Expand All @@ -57,7 +57,7 @@ class Country extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
* PhoneCountryCode
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $phoneCountryCode = '';

Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Phone.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Phone extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
* Number
*
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate NotEmpty
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $number = '';

Expand Down

0 comments on commit eb23ced

Please sign in to comment.