From 39579297690e27aafe9f8e4a2419be8d24d8c9d9 Mon Sep 17 00:00:00 2001 From: Yury Pikhtarev Date: Wed, 2 Jul 2025 02:38:00 +0400 Subject: [PATCH] fix(emoji): correct comment casing for Unicode emoji in EmojiFactory Updated the comment in the EmojiFactory to use consistent casing for "Unicode" in the emoji definition method. This change improves code clarity and maintains consistency in documentation style. --- database/factories/EmojiFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/factories/EmojiFactory.php b/database/factories/EmojiFactory.php index 12bf6e3e7..fd86ea8ca 100644 --- a/database/factories/EmojiFactory.php +++ b/database/factories/EmojiFactory.php @@ -17,8 +17,8 @@ class EmojiFactory extends Factory */ public function definition(): array { - $emojis = ['😊', '😃', '😄', '😁', '😆', '😅', 'ðŸĪĢ', '😂', '🙂', '🙃', '😉', '😊', '😇', 'ðŸĨ°', '😍', 'ðŸĪĐ', '😘', '😗', '😚', '😙', 'ðŸĨē', '😋', '😛', '😜', 'ðŸĪŠ', '😝', 'ðŸĪ‘', 'ðŸĪ—', 'ðŸĪ­', 'ðŸĪŦ', 'ðŸĪ”']; - $hasEmoji = $this->faker->boolean(80); // 80% chance of having unicode emoji + $emojis = ['😊', '😃', '😄', '😁', '😆', '😅', 'ðŸĪĢ', '😂', '🙂', '🙃', '😉', '😇', 'ðŸĨ°', '😍', 'ðŸĪĐ', '😘', '😗', '😚', '😙', 'ðŸĨē', '😋', '😛', '😜', 'ðŸĪŠ', '😝', 'ðŸĪ‘', 'ðŸĪ—', 'ðŸĪ­', 'ðŸĪŦ', 'ðŸĪ”']; + $hasEmoji = $this->faker->boolean(80); // 80% chance of having Unicode emoji return [ 'title' => $this->faker->words(2, true),