Skip to content

Commit

Permalink
Printer: public properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 23, 2021
1 parent dcad295 commit 33d3141
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/PhpGenerator/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class Printer

public int $wrapLength = 120;

protected string $indentation = "\t";
public string $indentation = "\t";

protected int $linesBetweenProperties = 0;
public int $linesBetweenProperties = 0;

protected int $linesBetweenMethods = 2;
public int $linesBetweenMethods = 2;

protected string $returnTypeColon = ': ';
public string $returnTypeColon = ': ';

protected ?PhpNamespace $namespace = null;

Expand Down
4 changes: 2 additions & 2 deletions src/PhpGenerator/PsrPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
final class PsrPrinter extends Printer
{
protected string $indentation = ' ';
public string $indentation = ' ';

protected int $linesBetweenMethods = 1;
public int $linesBetweenMethods = 1;
}

0 comments on commit 33d3141

Please sign in to comment.