mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
Change one function to protected
This commit is contained in:
parent
41facc02ef
commit
4e55897059
@ -615,7 +615,7 @@ class Standard extends PrettyPrinterAbstract
|
||||
. ($node->name->getLast() !== $node->alias ? ' as ' . $node->alias : '');
|
||||
}
|
||||
|
||||
private function pUseType($type) {
|
||||
protected function pUseType($type) {
|
||||
return $type === Stmt\Use_::TYPE_FUNCTION ? 'function '
|
||||
: ($type === Stmt\Use_::TYPE_CONSTANT ? 'const ' : '');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user