Skip to content

Commit bf9c1ae

Browse files
authored
Revert "[ IMPROVE ] Avoid parameter collisions" (#14)
1 parent caaa8e7 commit bf9c1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CacheBundle/ProxyManager/CacheableClassTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected function getCacheKey(\ReflectionMethod $method, $params, Cache $cacheO
9494

9595
$cacheKey = '';
9696
if (empty($cacheObj->getKey())) {
97-
$cacheKey = sprintf('%s::%s_no_params', $method->getDeclaringClass()->getName(), $method->getName());
97+
$cacheKey = 'no_params_';
9898
}
9999

100100
if (!empty($cacheObj->getKey())) {

0 commit comments

Comments
 (0)