Closed Khorsa closed 6 years ago
Actually, this was not a bug. The detection logic is correct.
For clarification: The "public" in the getAttribute() is the default in case the attribute is not set. That's correct, since PHP by default considers things public.
Yes, i'm sorry - it was wrong place for error )) May be, it is here:
Application.php [236]: $generator->run( new \TheSeer\phpDox\Generator\Project( $srcDir, $pconfig->getWorkDirectory() ) );
Generator.php [135]: public function run(Project $project, $publicOnly = FALSE) {
($publicOnly == TRUE) will never recieve by Generator from Application
That indeed looks more like a problem.
Generator has an error of public/private/protection attribute detection in files: \src\generator\project\objects\MethodObject.php \src\generator\project\objects\MemberObject.php