Issue Task Closed

#101934Cleanup code for ContentObjectRenderer::listNum and add tests

Sybille Peters 09/17/23, 12:18 updated 01/30/24, 08:30

Description

- Add unit tests for function ContentObjectRenderer::listNum.
- Improve code by renaming function argument ($char => $delimeter)
- Make sure arguments are always passed as strings (and not null)
(as declared in PHPDoc)
- Improve clarity of description in PHPDoc

In the future typehints can be added for function arguments and
return type.

Reviews 2