8000 bug #31477 [PropertyAccess] Add missing property to PropertyAccessor … · symfony/symfony@1620baf · GitHub
[go: up one dir, main page]

Skip to content

Commit 1620baf

Browse files
bug #31477 [PropertyAccess] Add missing property to PropertyAccessor (vudaltsov)
This PR was squashed before being merged into the 4.2 branch (closes #31477). Discussion ---------- [PropertyAccess] Add missing property to PropertyAccessor | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- b1d3736 [PropertyAccess] Add missing property to PropertyAccessor
2 parents 1ecc6a6 + b1d3736 commit 1620baf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/PropertyAccess/PropertyAccessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class PropertyAccessor implements PropertyAccessorInterface
6262
*/
6363
private $cacheItemPool;
6464

65+
private $propertyPathCache = [];
6566
private $readPropertyCache = [];
6667
private $writePropertyCache = [];
6768
private static $resultProto = [self::VALUE => null];
@@ -795,7 +796,7 @@ private function getPropertyPath($propertyPath): PropertyPath
795796
*
796797
* @return AdapterInterface
797798
*
798-
* @throws RuntimeException When the Cache Component isn't available
799+
* @throws \LogicException When the Cache Component isn't available
799800
*/
800801
public static function createCache($namespace, $defaultLifetime, $version, LoggerInterface $logger = null)
801802
{

0 commit comments

Comments
 (0)
0