Conditions | 3 |
Paths | 3 |
Total Lines | 18 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
87 | 2 | public function __toString(): string |
|
88 | { |
||
89 | 2 | $this->content = (string)$this->cells; |
|
90 | |||
91 | 2 | if ($this->actions) { |
|
92 | 2 | $cell = new Cell((string)$this->actions, 'actions'); |
|
93 | |||
94 | 2 | if ($this->translator) { |
|
95 | 1 | $cell->setTranslator($this->translator); |
|
96 | } |
||
97 | |||
98 | 2 | $this->content .= $cell; |
|
99 | } |
||
100 | |||
101 | 2 | $return = parent::__toString(); |
|
102 | |||
103 | 2 | return $return; |
|
104 | } |
||
105 | } |
||
106 |