From a4545b6fccbc6698fadce47a8454ce3acebf97ac Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sun, 8 Sep 2024 02:32:51 +0200 Subject: [PATCH] [automated] Apply Coding Standard (#6297) Co-authored-by: TomasVotruba <924196+TomasVotruba@users.noreply.github.com> --- .../Rector/MethodCall/MethodCallToPropertyFetchRector.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php b/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php index 2d515d47e31..64120082a6b 100644 --- a/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php +++ b/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php @@ -47,9 +47,7 @@ public function run() } CODE_SAMPLE , - [ - new MethodCallToPropertyFetch('ExamplePersonClass', 'getFirstname', 'firstname'), - ] + [new MethodCallToPropertyFetch('ExamplePersonClass', 'getFirstname', 'firstname')] ), ]); }