Fixed classIsNotAValidEntity problem #102

Closed
wants to merge 1 commit into
from
@@ -73,6 +73,7 @@ public function getClassAnnotations(\ReflectionClass $class)
// Attempt to grab data from cache
if (($data = $this->cache->fetch($cacheKey)) !== false) {
if (!$this->debug || $this->isCacheFresh($cacheKey, $class)) {
+ reset($data);
return $data;
}
}