Change one function to protected

This commit is contained in:
Jennifer Hodgdon 2017-02-08 05:51:09 -08:00 committed by Nikita Popov
parent 41facc02ef
commit 4e55897059

View File

@ -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 ' : '');
}