| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 84 | protected function run(): string |
||
| 85 | { |
||
| 86 | if ($this->content !== null) { |
||
| 87 | $content = $this->content; |
||
| 88 | } else { |
||
| 89 | $content = $this->getAttributeHint(); |
||
| 90 | if ($content === '') { |
||
| 91 | return ''; |
||
| 92 | } |
||
| 93 | } |
||
| 94 | |||
| 95 | return Html::tag($this->tag, $content, $this->attributes) |
||
| 96 | ->encode($this->encode) |
||
| 97 | ->render(); |
||
| 98 | } |
||
| 100 |