We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a92e631 + 84e8302 commit f860b43Copy full SHA for f860b43
1 file changed
src/PropertyNormalizer/SimplePropertyNormalizer.php
@@ -26,7 +26,6 @@ public function normalize(object $command): array
26
27
$properties = [];
28
foreach ($reflectionClass->getProperties() as $property) {
29
- $property->setAccessible(true);
30
$properties[$property->getName()] = $this->formatValue($property->getValue($command));
31
}
32
0 commit comments