| Conditions | 6 |
| Paths | 8 |
| Total Lines | 19 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 42 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | 'multiple', |
||
| 42 | ]); |
||
| 43 | |||
| 44 | if ($this->isTaggable()) { |
||
| 45 | $this->setHtmlAttribute('class', 'input-taggable'); |
||
| 46 | } |
||
| 47 | |||
| 48 | if ($this->isReadonly()) { |
||
| 49 | $this->setHtmlAttribute('disabled', 'disabled'); |
||
| 50 | } |
||
| 51 | |||
| 52 | return [ |
||
| 53 | 'taggable' => $this->isTaggable(), |
||
| 54 | 'attributes' => $this->htmlAttributesToString(), |
||
| 55 | ] + parent::toArray(); |
||
| 56 | } |
||
| 57 | } |
||
| 58 |