File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ final class OutputFormat
176176 private $ nextLevelFormat ;
177177
178178 /**
179- * @var int
179+ * @var int<0, max>
180180 */
181181 private $ indentationLevel = 0 ;
182182
@@ -643,6 +643,8 @@ public function setRenderComments(bool $renderComments): self
643643 }
644644
645645 /**
646+ * @return int<0, max>
647+ *
646648 * @internal
647649 */
648650 public function getIndentationLevel (): int
@@ -651,6 +653,8 @@ public function getIndentationLevel(): int
651653 }
652654
653655 /**
656+ * @param int<1, max> $numberOfTabs
657+ *
654658 * @return $this fluent interface
655659 */
656660 public function indentWithTabs (int $ numberOfTabs = 1 ): self
@@ -659,6 +663,8 @@ public function indentWithTabs(int $numberOfTabs = 1): self
659663 }
660664
661665 /**
666+ * @param int<1, max> $numberOfSpaces
667+ *
662668 * @return $this fluent interface
663669 */
664670 public function indentWithSpaces (int $ numberOfSpaces = 2 ): self
You can’t perform that action at this time.
0 commit comments