added property types
This commit is contained in:
parent
8d76072227
commit
362b37b6d6
3 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue