From a7cfe7b42f427b97c6b0b4af95c9f585317bc142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Wed, 22 Apr 2020 10:54:08 +0200 Subject: [PATCH] Updated argument PHPdoc to fix PHPstan errors. --- src/Services/LabelSystem/LabelGenerator.php | 2 +- src/Services/Misc/RangeParser.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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