@@ -21,13 +21,17 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Explode the selector to get ranges. |
23 | 23 | * |
24 | - * @param $selector |
|
24 | + * @param string $selector |
|
25 | 25 | * |
26 | 26 | * @return Collection |
27 | 27 | */ |
28 | 28 | protected function getRanges($selector) |
29 | 29 | { |
30 | 30 | return Factory::create(explode(';', $selector))->map( |
31 | + |
|
32 | + /** |
|
33 | + * @param string $range |
|
34 | + */ |
|
31 | 35 | function ($range) { |
32 | 36 | if ($separator = $this->dotDotSeparator($range) != false) { |
33 | 37 | return Factory::create([substr($range, 0, $separator), substr($range, $separator + 2)]); |
@@ -73,7 +77,7 @@ discard block |
||
73 | 77 | |
74 | 78 | /** |
75 | 79 | * @param Collection $parameters |
76 | - * @param Collection $collectionl |
|
80 | + * @param Collection $collection |
|
77 | 81 | */ |
78 | 82 | public function convert(Collection $parameters, Collection $collection) |
79 | 83 | { |