File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Tests/Extension/Core/DataTransformer Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 1818
1919class ChoiceToValueTransformerTest extends TestCase
2020{
21- protected ? ChoiceToValueTransformer $ transformer ;
22- protected ? ChoiceToValueTransformer $ transformerWithNull ;
21+ protected ChoiceToValueTransformer $ transformer ;
22+ protected ChoiceToValueTransformer $ transformerWithNull ;
2323
2424 protected function setUp (): void
2525 {
@@ -30,12 +30,6 @@ protected function setUp(): void
3030 $ this ->transformerWithNull = new ChoiceToValueTransformer ($ listWithNull );
3131 }
3232
33- protected function tearDown (): void
34- {
35- $ this ->transformer = null ;
36- $ this ->transformerWithNull = null ;
37- }
38-
3933 public static function transformProvider (): array
4034 {
4135 return [
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ class DateTimeToRfc3339TransformerTest extends BaseDateTimeTransformerTestCase
2020{
2121 use DateTimeEqualsTrait;
2222
23- protected ? \DateTime $ dateTime ;
24- protected ? \DateTime $ dateTimeWithoutSeconds ;
23+ protected \DateTime $ dateTime ;
24+ protected \DateTime $ dateTimeWithoutSeconds ;
2525
2626 protected function setUp (): void
2727 {
@@ -31,12 +31,6 @@ protected function setUp(): void
3131 $ this ->dateTimeWithoutSeconds = new \DateTime ('2010-02-03 04:05:00 UTC ' );
3232 }
3333
34- protected function tearDown (): void
35- {
36- $ this ->dateTime = null ;
37- $ this ->dateTimeWithoutSeconds = null ;
38- }
39-
4034 public static function allProvider (): array
4135 {
4236 return [
You can’t perform that action at this time.
0 commit comments