File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ final class OutputFormat
176
176
private $ nextLevelFormat ;
177
177
178
178
/**
179
- * @var int
179
+ * @var int<0, max>
180
180
*/
181
181
private $ indentationLevel = 0 ;
182
182
@@ -643,6 +643,8 @@ public function setRenderComments(bool $renderComments): self
643
643
}
644
644
645
645
/**
646
+ * @return int<0, max>
647
+ *
646
648
* @internal
647
649
*/
648
650
public function getIndentationLevel (): int
@@ -651,6 +653,8 @@ public function getIndentationLevel(): int
651
653
}
652
654
653
655
/**
656
+ * @param int<1, max> $numberOfTabs
657
+ *
654
658
* @return $this fluent interface
655
659
*/
656
660
public function indentWithTabs (int $ numberOfTabs = 1 ): self
@@ -659,6 +663,8 @@ public function indentWithTabs(int $numberOfTabs = 1): self
659
663
}
660
664
661
665
/**
666
+ * @param int<1, max> $numberOfSpaces
667
+ *
662
668
* @return $this fluent interface
663
669
*/
664
670
public function indentWithSpaces (int $ numberOfSpaces = 2 ): self
You can’t perform that action at this time.
0 commit comments