| Conditions | 3 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function toString(): string |
||
| 27 | { |
||
| 28 | $arrows = []; |
||
| 29 | |||
| 30 | foreach ($this->arrows as $arrow) { |
||
| 31 | $arrows[] = sprintf( |
||
| 32 | self::BLOCK, |
||
| 33 | $this->title, |
||
| 34 | $arrow[2] ? self::NULLABLE : self::NOT_NULLABLE, |
||
| 35 | $arrow[0], |
||
| 36 | $arrow[1] |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | return implode("\n", $arrows); |
||
| 41 | } |
||
| 43 |