From e2953e4eed77157f8626f7595779c23cadf62804 Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:09:25 +0700 Subject: [PATCH] chore: CS fix --- src/Transformer/Util/ReaderWriter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Transformer/Util/ReaderWriter.php b/src/Transformer/Util/ReaderWriter.php index 3af54528..6d2c766d 100644 --- a/src/Transformer/Util/ReaderWriter.php +++ b/src/Transformer/Util/ReaderWriter.php @@ -63,9 +63,9 @@ public function readSourceProperty( } elseif ($mode === ReadMode::DynamicProperty) { if (isset($source->{$accessorName})) { return $source->{$accessorName}; - } else { - return null; } + return null; + } return null; } catch (\Error $e) {