@@ -13,6 +13,9 @@ |
||
13 | 13 | $this->builder = $builder; |
14 | 14 | } |
15 | 15 | |
16 | + /** |
|
17 | + * @return Builder |
|
18 | + */ |
|
16 | 19 | public function getBuilder() |
17 | 20 | { |
18 | 21 | return $this->builder; |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Build the final config array. Build any other builders that may exist |
50 | 50 | * in the config. |
51 | - * @return array final field config |
|
51 | + * @return integer final field config |
|
52 | 52 | */ |
53 | 53 | public function build() |
54 | 54 | { |
@@ -118,6 +118,9 @@ discard block |
||
118 | 118 | return $this; |
119 | 119 | } |
120 | 120 | |
121 | + /** |
|
122 | + * @param string $type |
|
123 | + */ |
|
121 | 124 | protected function addFieldType($name, $type, $args = []) |
122 | 125 | { |
123 | 126 | return $this->addField($name, array_merge([ |
@@ -426,6 +429,9 @@ discard block |
||
426 | 429 | return $this->setConfig('instructions', $value); |
427 | 430 | } |
428 | 431 | |
432 | + /** |
|
433 | + * @param string $key |
|
434 | + */ |
|
429 | 435 | public function setConfig($key, $value) |
430 | 436 | { |
431 | 437 | $field = $this->popLastField(); |