Skip to content

Commit b9b6cf0

Browse files
committed
Fix visibility
1 parent ced520a commit b9b6cf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/Printer/Printer.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@ final class Printer
6262
*
6363
* @var array<string, array{string|null, string, string}>
6464
*/
65-
protected $emptyListInsertionMap = [
65+
private $emptyListInsertionMap = [
6666
CallableTypeNode::class . '->parameters' => ['(', '', ''],
6767
ArrayShapeNode::class . '->items' => ['{', '', ''],
6868
ObjectShapeNode::class . '->items' => ['{', '', ''],
6969
];
7070

71+
72+
7173
public function printFormatPreserving(PhpDocNode $node, PhpDocNode $originalNode, TokenIterator $originalTokens): string
7274
{
7375
$this->differ = new Differ(static function ($a, $b) {

0 commit comments

Comments
 (0)