Skip to content

Commit 8f5d9f1

Browse files
committed
Use var_export() instead of serialize()
1 parent 192e11e commit 8f5d9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Symfony/SymfonyContainerResultCacheMetaExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getHash(): string
5656
}
5757
ksort($services);
5858

59-
return hash('sha256', serialize(['parameters' => $parameters, 'services' => $services]));
59+
return hash('sha256', var_export(['parameters' => $parameters, 'services' => $services], true));
6060
}
6161

6262
}

0 commit comments

Comments
 (0)