@@ -149,7 +149,6 @@ discard block |
||
149 | 149 | |
150 | 150 | /** |
151 | 151 | * Detect type of range passed as argument (int, float, date) |
152 | - * @param array $value value to detect type |
|
153 | 152 | */ |
154 | 153 | protected function setValueRangeAutodetect(array $range) |
155 | 154 | { |
@@ -201,6 +200,9 @@ discard block |
||
201 | 200 | |
202 | 201 | |
203 | 202 | |
203 | + /** |
|
204 | + * @param string $forceValueType |
|
205 | + */ |
|
204 | 206 | protected function setValueForced($forceValueType, $value) |
205 | 207 | { |
206 | 208 | if (!property_exists($this, $forceValueType)) { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | ['fvalueRangeFloatMin', 'fvalueRangeFloatMax'], |
168 | 168 | $range |
169 | 169 | ); |
170 | - } elseif($this->isRangeInt($range)) { |
|
170 | + } elseif ($this->isRangeInt($range)) { |
|
171 | 171 | $this->fvalueRangeInt = array_combine( |
172 | 172 | ['fvalueRangeIntMin', 'fvalueRangeIntMax'], |
173 | 173 | $range |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | //recursive object to array :) |
241 | 241 | $array = json_decode(json_encode($array), true); |
242 | 242 | |
243 | - foreach($array as $key => $value) { |
|
243 | + foreach ($array as $key => $value) { |
|
244 | 244 | if (!property_exists($this, $key)) { |
245 | 245 | throw new Exception("Unknown Field property: {$key}"); |
246 | 246 | } |