| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 26 | public function toString(): string |
||
| 27 | { |
||
| 28 | $allowedValues = []; |
||
| 29 | |||
| 30 | foreach ($this->allowedValues as $value) { |
||
| 31 | $this->allowedValues[] = VarDumper::create($value)->asString(); |
||
| 32 | } |
||
| 33 | |||
| 34 | $expectedAsString = implode(', ', $allowedValues); |
||
| 35 | |||
| 36 | return "is one of $expectedAsString"; |
||
| 37 | } |
||
| 44 |