Commit e2766ca6 authored by Guilherme Blanco's avatar Guilherme Blanco

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

parent 6705d9b9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment