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
176176 private $ nextLevelFormat ;
177177
178178 /**
179- * @var int
179+ * @var int<0, max>
180180 */
181181 private $ indentationLevel = 0 ;
182182
@@ -639,6 +639,8 @@ public function setRenderComments(bool $renderComments): self
639639 }
640640
641641 /**
642+ * @return int<0, max>
643+ *
642644 * @internal
643645 */
644646 public function getIndentationLevel (): int
@@ -647,6 +649,8 @@ public function getIndentationLevel(): int
647649 }
648650
649651 /**
652+ * @param int<1, max> $numberOfTabs
653+ *
650654 * @return $this fluent interface
651655 */
652656 public function indentWithTabs (int $ numberOfTabs = 1 ): self
@@ -655,6 +659,8 @@ public function indentWithTabs(int $numberOfTabs = 1): self
655659 }
656660
657661 /**
662+ * @param int<1, max> $numberOfSpaces
663+ *
658664 * @return $this fluent interface
659665 */
660666 public function indentWithSpaces (int $ numberOfSpaces = 2 ): self
You can’t perform that action at this time.
0 commit comments