projects
/
PHP_CodeDoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8d297eb
)
CodeDoc/Parser/Var.php
author
Alan Knowles
<alan@roojs.com>
Fri, 28 Oct 2016 08:26:25 +0000
(16:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 28 Oct 2016 08:26:25 +0000
(16:26 +0800)
CodeDoc/Parser/Var.php
patch
|
blob
|
history
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;