File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public function __construct($file, $options=array())
2626 $ this ->mOptions = $ options ;
2727 }
2828
29- private function getAccess ($ node )
29+ private function getNodeAccess ($ node )
3030 {
3131 if ($ node ->isPrivate ()) return 'private ' ;
3232 if ($ node ->isProtected ()) return 'protected ' ;
@@ -62,7 +62,7 @@ private function struct($node, $parent=array())
6262 $ prop = $ node ->props [0 ];
6363 $ name = $ prop ->name ;
6464 $ line = $ prop ->getLine ();
65- $ access = $ this ->getAccess ($ node );
65+ $ access = $ this ->getNodeAccess ($ node );
6666 } elseif ($ node instanceof PHPParser_Node_Stmt_ClassConst) {
6767 $ kind = 'd ' ;
6868 $ cons = $ node ->consts [0 ];
@@ -72,7 +72,7 @@ private function struct($node, $parent=array())
7272 $ kind = 'm ' ;
7373 $ name = $ node ->name ;
7474 $ line = $ node ->getLine ();
75- $ access = $ this ->getAccess ($ node );
75+ $ access = $ this ->getNodeAccess ($ node );
7676 foreach ($ node as $ subNode ) {
7777 $ this ->struct ($ subNode , array ('method ' => $ name ));
7878 }
You can’t perform that action at this time.
0 commit comments