From 2f7e4f6738587776600c3066228cb4ebd4d3ff36 Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Thu, 10 Oct 2024 01:11:51 +0700 Subject: [PATCH] rector --- src/CustomMapper/Implementation/CachingObjectMapperResolver.php | 1 + src/Transformer/Implementation/ObjectMapperTransformer.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/CustomMapper/Implementation/CachingObjectMapperResolver.php b/src/CustomMapper/Implementation/CachingObjectMapperResolver.php index ffed4d2..0daf4f9 100644 --- a/src/CustomMapper/Implementation/CachingObjectMapperResolver.php +++ b/src/CustomMapper/Implementation/CachingObjectMapperResolver.php @@ -73,6 +73,7 @@ public function getObjectMapper( return $this->objectMapperCache[$sourceClass][$targetClass] = $objectMapper; } + #[\Override] public function warmingGetObjectMapper( string $sourceClass, string $targetClass, diff --git a/src/Transformer/Implementation/ObjectMapperTransformer.php b/src/Transformer/Implementation/ObjectMapperTransformer.php index d4c8590..495cd42 100644 --- a/src/Transformer/Implementation/ObjectMapperTransformer.php +++ b/src/Transformer/Implementation/ObjectMapperTransformer.php @@ -97,6 +97,7 @@ public function transform( ); } + #[\Override] public function warmingTransform( Type $sourceType, Type $targetType, @@ -118,6 +119,7 @@ public function warmingTransform( } } + #[\Override] public function isWarmable(): bool { return true;