| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | 3 | protected function build(TypeConfigInterface $config) |
|
| 19 | { |
||
| 20 | $config |
||
| 21 | 3 | ->addField('name', TypeMap::TYPE_STRING) |
|
| 22 | 3 | ->addField('description', TypeMap::TYPE_STRING) |
|
| 23 | 3 | ->addField('type', new QueryType()) |
|
| 24 | 3 | ->addField('defaultValue', TypeMap::TYPE_STRING); //todo: check here |
|
| 25 | 3 | } |
|
| 26 | |||
| 39 | } |