@@ -69,6 +69,10 @@ discard block |
||
69 | 69 | $this->parseRange($definition, $match); |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param string $definition |
|
74 | + * @param string[] $match |
|
75 | + */ |
|
72 | 76 | private function parseFormat($definition, $match) |
73 | 77 | { |
74 | 78 | $type = strtolower($match[1]); |
@@ -86,6 +90,10 @@ discard block |
||
86 | 90 | $this->collectionFormat = self::$collectionFormats[$type]; |
87 | 91 | } |
88 | 92 | |
93 | + /** |
|
94 | + * @param string $definition |
|
95 | + * @param string[] $match |
|
96 | + */ |
|
89 | 97 | private function parseItems($definition, $match) |
90 | 98 | { |
91 | 99 | if (!empty($match[2])) { |
@@ -93,6 +101,10 @@ discard block |
||
93 | 101 | } |
94 | 102 | } |
95 | 103 | |
104 | + /** |
|
105 | + * @param string $definition |
|
106 | + * @param string[] $match |
|
107 | + */ |
|
96 | 108 | private function parseRange($definition, $match) |
97 | 109 | { |
98 | 110 | if (!empty($match[3])) { |