Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25c5b34

Browse files
committed
Remove useless check (without breaking things)
1 parent 9cabbd6 commit 25c5b34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Intl/Transliterator/EmojiTransliterator.php

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
throw new \LogicException(sprintf('You cannot use the "%s" if the Emoji component is not available. Try running "composer require symfony/emoji".', EmojiEmojiTransliterator::class));
2020
}
2121

22+
class_alias(EmojiEmojiTransliterator::class, EmojiTransliterator::class);
23+
2224
if (false) {
2325
/**
2426
* @deprecated since Symfony 7.1, use Symfony\Component\Emoji\EmojiTransliterator instead

0 commit comments

Comments
 (0)