X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=scripts%2Fcheck_docs.php;h=fb6d9316a63e17c5846c3c2be3ce7f397d07e0dd;hb=2dc2f1f7e1142bc51fa5ac9e1004c56f9f82e47c;hp=79e5ff5eedd023b11a7c77227c65c01b487e2aac;hpb=0de60a2d6b0a9be44786ca2418169c54157c758d;p=m6w6%2Fext-http diff --git a/scripts/check_docs.php b/scripts/check_docs.php index 79e5ff5..fb6d931 100755 --- a/scripts/check_docs.php +++ b/scripts/check_docs.php @@ -47,8 +47,8 @@ foreach ($ext->getClasses() as $class) { re($class->getName().".xml", "#>$name<#") or printf("\t%s::%s (%s)\n", $class->getName(), $name, $tmp); } foreach ($class->getProperties() as $prop) { - // blatant guess - re($class->getName().".xml", "#>{$prop->getName()}<#") or printf("\t%s::$%s\n", $class->getName(), $prop->getName()); + /* @var $prop ReflectionProperty */ + $prop->isPrivate() or re($class->getName().".xml", "#>{$prop->getName()}<#") or printf("\t%s::$%s\n", $class->getName(), $prop->getName()); } foreach ($class->getMethods() as $meth) { /* @var $meth ReflectionMethod */