Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 2 | Features | 1 |
1 | <?php |
||
42 | public function fetch() |
||
43 | { |
||
44 | $value = $this->getAsString($this->value); |
||
45 | $values = implode(', ', $this->types); |
||
46 | $output = sprintf('%s MUST BE one of the following types [%s]', $value, $values); |
||
47 | if ($this->note) { |
||
48 | $output .= ' ('.$this->note.')'; |
||
49 | } |
||
50 | |||
51 | return $output; |
||
52 | } |
||
53 | } |
||
54 |