diff --git a/src/Services/LabelSystem/LabelGenerator.php b/src/Services/LabelSystem/LabelGenerator.php index 5b31042e..36f15985 100644 --- a/src/Services/LabelSystem/LabelGenerator.php +++ b/src/Services/LabelSystem/LabelGenerator.php @@ -47,7 +47,7 @@ class LabelGenerator /** * @param LabelOptions $options - * @param object|object[] $element An element or an array of elements for which labels should be generated + * @param object|object[] $elements An element or an array of elements for which labels should be generated * @return string */ public function generateLabel(LabelOptions $options, $elements): string diff --git a/src/Services/Misc/RangeParser.php b/src/Services/Misc/RangeParser.php index ed5c4948..3714878f 100644 --- a/src/Services/Misc/RangeParser.php +++ b/src/Services/Misc/RangeParser.php @@ -27,7 +27,7 @@ class RangeParser { /** * Converts the given range string to an array of all numbers in the given range. - * @param string $range A range string like '1-3, 5, 6' + * @param string $range_str A range string like '1-3, 5, 6' * @return int[] An array with all numbers from the range (e.g. [1, 2, 3, 5, 6] */ public function parse(string $range_str): array