Fixed double lookup on some cache instances by removing the contains() call in AnnotationReader.
This commit is contained in:
parent
6705d9b9cc
commit
e2766ca636
@ -184,7 +184,7 @@ class AnnotationReader
|
||||
// Attempt to grab data from cache
|
||||
if (($data = $this->_cache->fetch($cacheKey)) !== false) {
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
$context = 'method ' . $method->getDeclaringClass()->getName() . '::' . $method->getName() . '()';
|
||||
$annotations = $this->_parser->parse($method->getDocComment(), $context);
|
||||
|
Loading…
Reference in New Issue
Block a user