| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 80 | 13 | public function getIconMarkup() |
|
| 81 | { |
||
| 82 | 13 | $actionIcons = (array) config('nwlaravel.activity.action_icon'); |
|
| 83 | 13 | $iconElement = $actionIcons['element']; |
|
| 84 | 13 | $iconPrefix = $actionIcons['class_prefix']; |
|
| 85 | 13 | return sprintf('<%s class="%s%s"></%s>', $iconElement, $iconPrefix, $this->getIcon(), $iconElement); |
|
| 86 | } |
||
| 87 | } |
||
| 88 |