@@ -18,6 +18,9 @@ discard block |
||
18 | 18 | $this->config = array_merge($this->config, $groupConfig); |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param string $key |
|
23 | + */ |
|
21 | 24 | public function setGroupConfig($key, $value) |
22 | 25 | { |
23 | 26 | $this->config[$key] = $value; |
@@ -203,6 +206,9 @@ discard block |
||
203 | 206 | return $this; |
204 | 207 | } |
205 | 208 | |
209 | + /** |
|
210 | + * @param string $type |
|
211 | + */ |
|
206 | 212 | protected function addFieldType($name, $type, $args = []) |
207 | 213 | { |
208 | 214 | return $this->addField($name, array_merge([ |
@@ -511,6 +517,9 @@ discard block |
||
511 | 517 | return $this->setConfig('instructions', $value); |
512 | 518 | } |
513 | 519 | |
520 | + /** |
|
521 | + * @param string $key |
|
522 | + */ |
|
514 | 523 | public function setConfig($key, $value) |
515 | 524 | { |
516 | 525 | $field = $this->popLastField(); |