From 59a1d06f1498dd2aab19316b7f5405d76b4170e7 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 5 Apr 2007 18:26:21 +0000 Subject: [PATCH] - we're not interested in private properties --- scripts/check_docs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.30.2