We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Icons |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Generate the icon format and color, apply the url link if exists. |
||
| 15 | * |
||
| 16 | * @param string $iconName |
||
| 17 | * @param string $color |
||
| 18 | * @param string $link |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | protected function icon(string $iconName, string $color = null, string $link = null) |
||
| 30 |