From 3a03cc81286c38553c7b82a3ccbf2f1ca26c4f8a Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 10 Feb 2025 11:59:14 +0100 Subject: [PATCH] [TASK] Mark `OutputFormat::nextLevel()` as `@internal` This method is used internally for rendering the CSS, and it is not intended to be called from outside this library. --- CHANGELOG.md | 1 + src/OutputFormat.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38a03088..b6182da3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Please also have a look at our ### Changed +- Mark `OutputFormat::nextLevel()` as `@internal` (#901) - Only allow `string` for some `OutputFormat` properties (#885) - Make all non-private properties `@internal` (#886) - Use more native type declarations and strict mode diff --git a/src/OutputFormat.php b/src/OutputFormat.php index 8bdfdb1d..ce1459d3 100644 --- a/src/OutputFormat.php +++ b/src/OutputFormat.php @@ -780,6 +780,9 @@ public function indentWithSpaces(int $numberOfSpaces = 2): self return $this->setIndentation(\str_repeat(' ', $numberOfSpaces)); } + /** + * @internal since V8.8.0 + */ public function nextLevel(): self { if ($this->oNextLevelFormat === null) {