| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __construct(?string $title = null) |
||
| 16 | { |
||
| 17 | $this->title = $title ?? $this->title; |
||
| 18 | if (is_null($this->title)) { |
||
| 19 | $this->title = __(class_basename(static::class)); |
||
| 20 | } |
||
| 21 | if (!$this->component) { |
||
| 22 | $this->component = 'IndexColumn'.class_basename(static::class); |
||
| 23 | } |
||
| 50 |