Skip to content

Commit a7a14cf

Browse files
dmitryuka.dmitryuk
andauthored
Fix php doc for getPropertyAccessors method (#12159)
Co-authored-by: a.dmitryuk <a.dmitryuk@movavi.com>
1 parent ceb04bf commit a7a14cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mapping/ClassMetadata.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ class ClassMetadata implements PersistenceClassMetadata, Stringable
546546
*/
547547
public LegacyReflectionFields|array $reflFields = [];
548548

549-
/** @var array<string, PropertyAccessors\PropertyAccessor> */
549+
/** @var array<string, PropertyAccessor> */
550550
public array $propertyAccessors = [];
551551

552552
private InstantiatorInterface|null $instantiator = null;
@@ -584,7 +584,7 @@ public function getReflectionProperties(): array|LegacyReflectionFields
584584
/**
585585
* Gets the ReflectionProperties of the mapped class.
586586
*
587-
* @return PropertyAccessor[] An array of PropertyAccessor instances.
587+
* @return array<string, PropertyAccessor> An array of PropertyAccessor instances by name.
588588
*/
589589
public function getPropertyAccessors(): array
590590
{

0 commit comments

Comments
 (0)