@@ -55,6 +55,10 @@ discard block |
||
55 | 55 | $this->parseRange($definition, $match); |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @param string $definition |
|
60 | + * @param string[] $match |
|
61 | + */ |
|
58 | 62 | private function parseFormat($definition, $match) |
59 | 63 | { |
60 | 64 | if (strtolower($match[1]) !== 'object') { |
@@ -62,6 +66,10 @@ discard block |
||
62 | 66 | } |
63 | 67 | } |
64 | 68 | |
69 | + /** |
|
70 | + * @param string $definition |
|
71 | + * @param string[] $match |
|
72 | + */ |
|
65 | 73 | private function parseProperties($definition, $match) |
66 | 74 | { |
67 | 75 | if (!empty($match[2])) { |
@@ -80,6 +88,10 @@ discard block |
||
80 | 88 | } |
81 | 89 | } |
82 | 90 | |
91 | + /** |
|
92 | + * @param string $definition |
|
93 | + * @param string[] $match |
|
94 | + */ |
|
83 | 95 | private function parseRange($definition, $match) |
84 | 96 | { |
85 | 97 | if (!empty($match[3])) { |
@@ -100,6 +112,9 @@ discard block |
||
100 | 112 | } |
101 | 113 | } |
102 | 114 | |
115 | + /** |
|
116 | + * @param string|false $discriminator |
|
117 | + */ |
|
103 | 118 | private function setDiscriminator($discriminator) |
104 | 119 | { |
105 | 120 | if (!empty($this->discriminator)) { |