From 0f4af34727d469c1dd78d6a6e212e7672edf8727 Mon Sep 17 00:00:00 2001 From: rubenvanassche Date: Wed, 31 May 2023 15:18:25 +0000 Subject: [PATCH] Fix styling --- tests/Fakes/Transformers/ConfidentialDataTransformer.php | 1 + tests/Resolvers/EmptyDataResolverTest.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/Fakes/Transformers/ConfidentialDataTransformer.php b/tests/Fakes/Transformers/ConfidentialDataTransformer.php index c223ab55..c47942ec 100644 --- a/tests/Fakes/Transformers/ConfidentialDataTransformer.php +++ b/tests/Fakes/Transformers/ConfidentialDataTransformer.php @@ -3,6 +3,7 @@ namespace Spatie\LaravelData\Tests\Fakes\Transformers; use function collect; + use Spatie\LaravelData\Support\DataProperty; use Spatie\LaravelData\Transformers\Transformer; diff --git a/tests/Resolvers/EmptyDataResolverTest.php b/tests/Resolvers/EmptyDataResolverTest.php index bee466b7..aef83fd2 100644 --- a/tests/Resolvers/EmptyDataResolverTest.php +++ b/tests/Resolvers/EmptyDataResolverTest.php @@ -76,9 +76,9 @@ public function it_will_further_transform_resources() /** @test */ public function it_will_return_the_base_type_for_lazy_types() { -// $this->assertEmptyPropertyValue(null, new class() { -// public Lazy | string $property; -// }); + // $this->assertEmptyPropertyValue(null, new class() { + // public Lazy | string $property; + // }); $this->assertEmptyPropertyValue([], new class () { public Lazy | array $property;