1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Fixed double lookup on some cache instances by removing the contains() call in AnnotationReader.

This commit is contained in:
Guilherme Blanco 2010-04-29 22:59:51 -03:00
parent 6705d9b9cc
commit e2766ca636

View File

@ -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);