From b63c15b416bc5d5d4e5cb5e4ab032836c624bd93 Mon Sep 17 00:00:00 2001 From: patrickmaynard Date: Sun, 23 Apr 2023 14:08:15 +0200 Subject: [PATCH] 46867 - fix naming issue flagged by psalm --- .../Form/Extension/Core/DataAccessor/PropertyPathAccessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Form/Extension/Core/DataAccessor/PropertyPathAccessor.php b/src/Symfony/Component/Form/Extension/Core/DataAccessor/PropertyPathAccessor.php index d2c57614ae29f..5ce507f026ec0 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataAccessor/PropertyPathAccessor.php +++ b/src/Symfony/Component/Form/Extension/Core/DataAccessor/PropertyPathAccessor.php @@ -74,7 +74,7 @@ public function isReadable(object|array $data, FormInterface $form): bool return null !== $form->getPropertyPath(); } - public function isWritable(object|array $data, FormInterface $form): bool + public function isWritable(object|array $viewData, FormInterface $form): bool { return null !== $form->getPropertyPath(); }