| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 39 | private function emojify(string $progress) :string |
||
| 40 | { |
||
| 41 | return array_values(array_filter($this->emojis, function ($key) use ($progress) { |
||
| 42 | return strrpos(strtoupper($key), $progress) === 0; |
||
| 43 | }, ARRAY_FILTER_USE_KEY))[0] ?? $this->emojis['pass']; |
||
| 44 | } |
||
| 45 | } |
||
| 46 |