@@ -85,7 +85,7 @@ |
||
85 | 85 | |
86 | 86 | private function shortcode(string $character): string |
87 | 87 | { |
88 | - return array_values(array_filter($this->emojis, function ($emojikey) use ($character) { |
|
88 | + return array_values(array_filter($this->emojis, function($emojikey) use ($character) { |
|
89 | 89 | return strrpos(strtoupper($emojikey), $character) === 0; |
90 | 90 | }, ARRAY_FILTER_USE_KEY))[0] ?? $this->emojis['pass']; |
91 | 91 | } |