Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 11 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
72 | 4 | public function __toString() |
|
73 | { |
||
74 | 4 | if (empty($this->store)) { |
|
75 | 1 | return ""; |
|
76 | } |
||
77 | |||
78 | 3 | $contents = $this->delimiter . |
|
79 | 3 | $this->renderArrayElements( |
|
80 | 3 | $this->store, |
|
81 | 3 | $this->delimiter |
|
82 | ); |
||
83 | |||
84 | 3 | return $this->renderFullElement( |
|
85 | 3 | $this->getTag(), |
|
86 | $contents, |
||
87 | 3 | $this->attributes, |
|
88 | 3 | true |
|
89 | ); |
||
101 |