crodas/Notoj — pull request #1 by eriknyk (2012-06-26 20:26:37+00:00)
Title: the problem exists when trying to get a reflection annotation from

class, method or any that has not a @annotation() ... always is
parsing and canching is not being used because on the condition is
a !empty() condition, but for a comment without a valid annotation
like:

class x{
/** some comment */
function m() {}
}

--- on Notoj.php, line 93:

if (!empty(self::$cached[$id])) {
return self::$cached[$id];
}

the annotation was parsed and stored on cache file correctly
but self::$cached[$id] value is really empty. So I ve solved changing it
!empty() by isset(), and it works, so it will not parse always.