| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | private function buildMessage(): string |
||
| 32 | { |
||
| 33 | $actualType = is_object($this->rangeSet) |
||
| 34 | ? get_class($this->rangeSet) |
||
| 35 | : gettype($this->rangeSet); |
||
| 36 | $expectedType = RangeSet::class; |
||
| 37 | |||
| 38 | return |
||
| 39 | "Invalid range set loaded from {$this->propertyFile} for Unicode property '{$this->propertyName}':\n" . |
||
| 40 | "{$actualType} instead of {$expectedType}"; |
||
| 41 | } |
||
| 58 |