mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Updated argument PHPdoc to fix PHPstan errors.
This commit is contained in:
parent
e51b5c3089
commit
a7cfe7b42f
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ class LabelGenerator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param LabelOptions $options
|
* @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
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function generateLabel(LabelOptions $options, $elements): string
|
public function generateLabel(LabelOptions $options, $elements): string
|
||||||
|
|
|
@ -27,7 +27,7 @@ class RangeParser
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Converts the given range string to an array of all numbers in the given range.
|
* 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]
|
* @return int[] An array with all numbers from the range (e.g. [1, 2, 3, 5, 6]
|
||||||
*/
|
*/
|
||||||
public function parse(string $range_str): array
|
public function parse(string $range_str): array
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue