Skip to content

Commit ed9b086

Browse files
author
Stanislav Idolov
committed
MAGETWO-67444: Ensure all tools support PHP 7 type hinting required by Technical Guidelines
1 parent 34cb6b6 commit ed9b086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Code/Reader/NamespaceResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getImportedNamespaces(array $fileContent) : array
7676
{
7777
$fileContent = implode('', $fileContent);
7878

79-
$cacheKey = md5($fileContent);
79+
$cacheKey = sha1($fileContent);
8080

8181
if (isset($this->namespaces[$cacheKey])) {
8282
return $this->namespaces[$cacheKey];

0 commit comments

Comments
 (0)