From b3f0eb3f3d8850aef4ba1169908db427f4bde8ae Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 10 Oct 2022 16:05:06 +0200 Subject: [PATCH] [CLEANUP] Use more native property types in the tests (#628) --- CHANGELOG.md | 2 +- Tests/Unit/Controller/TeaControllerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5476efb..e380040 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Changed - Upgrade to PHPUnit 9 and PHPCOV 8 (#610) - Convert functional test fixtures to CSV (#601) -- Use typed properties instead of `@var` annotations (#599) +- Use typed properties instead of `@var` annotations (#599, #612, #628) - Return `ResponseInterface` in controller actions (#597) - Replace switchable controller actions with separate plugins (#575) diff --git a/Tests/Unit/Controller/TeaControllerTest.php b/Tests/Unit/Controller/TeaControllerTest.php index dea9227..1331d9d 100644 --- a/Tests/Unit/Controller/TeaControllerTest.php +++ b/Tests/Unit/Controller/TeaControllerTest.php @@ -28,7 +28,7 @@ class TeaControllerTest extends UnitTestCase /** * @var TeaController&MockObject&AccessibleObjectInterface */ - private $subject; + private TeaController $subject; /** * @var ObjectProphecy