projects
/
PHP_CodeDoc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CodeDoc/Parser/Var.php
[PHP_CodeDoc]
/
CodeDoc
/
Parser
/
Var.php
diff --git
a/CodeDoc/Parser/Var.php
b/CodeDoc/Parser/Var.php
index
98934fe
..
e5a025d
100644
(file)
--- a/
CodeDoc/Parser/Var.php
+++ b/
CodeDoc/Parser/Var.php
@@
-41,6
+41,8
@@
class PHP_CodeDoc_Parser_Var {
$var->isPublic = 1;
$var->isStatic = 0;
$var->visibility = 1;
+ $var->isConstant = $this->tokens[$this->pos][0] == T_CONST;
+
if (in_array(T_PRIVATE, $flags)) {
$var->type = "Private";
$var->isPublic = 0;