From 362b37b6d627628f58d9614eac3535925c60f6af Mon Sep 17 00:00:00 2001 From: Robin Krahnen Date: Mon, 4 May 2020 22:19:37 +0200 Subject: [PATCH] added property types --- Tests/Functional/Fixtures/TestObject.php | 6 +++--- .../Fixtures/TestValidationGroupsCustomObject.php | 4 ++-- .../Fixtures/TestValidationGroupsDefaultObject.php | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tests/Functional/Fixtures/TestObject.php b/Tests/Functional/Fixtures/TestObject.php index 8686bbd..6f8e667 100644 --- a/Tests/Functional/Fixtures/TestObject.php +++ b/Tests/Functional/Fixtures/TestObject.php @@ -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 diff --git a/Tests/Functional/Fixtures/TestValidationGroupsCustomObject.php b/Tests/Functional/Fixtures/TestValidationGroupsCustomObject.php index 82101ab..b671e00 100644 --- a/Tests/Functional/Fixtures/TestValidationGroupsCustomObject.php +++ b/Tests/Functional/Fixtures/TestValidationGroupsCustomObject.php @@ -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 diff --git a/Tests/Functional/Fixtures/TestValidationGroupsDefaultObject.php b/Tests/Functional/Fixtures/TestValidationGroupsDefaultObject.php index ef9f909..30261b2 100644 --- a/Tests/Functional/Fixtures/TestValidationGroupsDefaultObject.php +++ b/Tests/Functional/Fixtures/TestValidationGroupsDefaultObject.php @@ -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