| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 | */ | 
| 38 | 38 | public function emojify(string $text): string | 
| 39 | 39 |      { | 
| 40 | -        return preg_replace_callback('/:([a-zA-Z0-9_\-\+]+):/', function ($match) use ($text) { | |
| 40 | +        return preg_replace_callback('/:([a-zA-Z0-9_\-\+]+):/', function($match) use ($text) { | |
| 41 | 41 | return $this->get($match[1]); | 
| 42 | 42 | }, $text); | 
| 43 | 43 | } | 
| @@ -51,7 +51,7 @@ discard block | ||
| 51 | 51 | */ | 
| 52 | 52 | public function search(string $emoji): array | 
| 53 | 53 |      { | 
| 54 | -        return array_filter($this->list, function ($item) use ($emoji) { | |
| 54 | +        return array_filter($this->list, function($item) use ($emoji) { | |
| 55 | 55 | return strpos($item, $emoji) !== false; | 
| 56 | 56 | }, ARRAY_FILTER_USE_KEY); | 
| 57 | 57 | } |