added property types

This commit is contained in:
Robin Krahnen 2020-05-04 22:19:37 +02:00
parent 8d76072227
commit 362b37b6d6
3 changed files with 7 additions and 7 deletions

View file

@ -9,18 +9,18 @@ class TestObject
/**
* @var bool
*/
protected $shouldBeTrue = true;
protected bool $shouldBeTrue = true;
/**
* @var bool
*/
protected $shouldBeFalse = true;
protected bool $shouldBeFalse = true;
/**
* @Flow\Validate(type="DigiComp.SettingValidator:Settings", options={"name"="TrueValidator"})
* @var bool
*/
protected $shouldBeTrueAndValidatedByAnnotation = false;
protected bool $shouldBeTrueAndValidatedByAnnotation = false;
/**
* @return bool

View file

@ -7,12 +7,12 @@ class TestValidationGroupsCustomObject
/**
* @var bool
*/
protected $shouldBeTrue = false;
protected bool $shouldBeTrue = false;
/**
* @var bool
*/
protected $shouldBeFalse = true;
protected bool $shouldBeFalse = true;
/**
* @return bool

View file

@ -7,12 +7,12 @@ class TestValidationGroupsDefaultObject
/**
* @var bool
*/
protected $shouldBeTrue = false;
protected bool $shouldBeTrue = false;
/**
* @var bool
*/
protected $shouldBeFalse = true;
protected bool $shouldBeFalse = true;
/**
* @return bool