Skip to content

Commit 44e6372

Browse files
committed
optimize extractors
1 parent 45355fa commit 44e6372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Extractor/CombinedExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct()
4141
*/
4242
public function getTypes(string $class, string $property, array $context = []): ?array
4343
{
44-
$cacheKey = \sha1($class . $property);
44+
$cacheKey = $class . $property;
4545

4646
if (\array_key_exists($cacheKey, $this->localStorage) === false)
4747
{

0 commit comments

Comments
 (0)