Skip to content

Commit 6801d26

Browse files
authored
[BUGFIX] Fix a typo in indentationLevel (#1132)
1 parent a8709e4 commit 6801d26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/OutputFormat.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class OutputFormat
178178
/**
179179
* @var int
180180
*/
181-
private $indendationLevel = 0;
181+
private $indentationLevel = 0;
182182

183183
public function __construct() {}
184184

@@ -663,7 +663,7 @@ public function setRenderComments(bool $renderComments): self
663663
*/
664664
public function getIndentationLevel(): int
665665
{
666-
return $this->indendationLevel;
666+
return $this->indentationLevel;
667667
}
668668

669669
/**
@@ -689,7 +689,7 @@ public function nextLevel(): self
689689
{
690690
if ($this->nextLevelFormat === null) {
691691
$this->nextLevelFormat = clone $this;
692-
$this->nextLevelFormat->indendationLevel++;
692+
$this->nextLevelFormat->indentationLevel++;
693693
$this->nextLevelFormat->outputFormatter = null;
694694
}
695695
return $this->nextLevelFormat;

0 commit comments

Comments
 (0)