Skip to content

Commit ffde77a

Browse files
authored
Update README.md
1 parent ae8946d commit ffde77a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ Demotes all headings in `$html` by `$numberOfLevels` levels.
2929
### min(string $html, int $minLevel)
3030
Promotes/demotes all headings in `$html` so that the lowest heading level equals `$minLevel`.
3131
```php
32-
\Vikpe\HtmlHeadingNormalizer::min('<h4>Foo</h4>', 1); // '<h1>Foo</h1>'
32+
\Vikpe\HtmlHeadingNormalizer::min('<h4>Foo</h4><h5>Bar</h5>', 1); // '<h1>Foo</h1><h2>Bar</h2>'
3333
```

0 commit comments

Comments
 (0)