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.
This commit is contained in:
Yury Pikhtarev 2025-07-02 02:38:00 +04:00
commit 3957929769
No known key found for this signature in database

View file

@ -17,8 +17,8 @@ class EmojiFactory extends Factory
*/ */
public function definition(): array public function definition(): array
{ {
$emojis = ['😊', '😃', '😄', '😁', '😆', '😅', '🤣', '😂', '🙂', '🙃', '😉', '😊', '😇', '🥰', '😍', '🤩', '😘', '😗', '😚', '😙', '🥲', '😋', '😛', '😜', '🤪', '😝', '🤑', '🤗', '🤭', '🤫', '🤔']; $emojis = ['😊', '😃', '😄', '😁', '😆', '😅', '🤣', '😂', '🙂', '🙃', '😉', '😇', '🥰', '😍', '🤩', '😘', '😗', '😚', '😙', '🥲', '😋', '😛', '😜', '🤪', '😝', '🤑', '🤗', '🤭', '🤫', '🤔'];
$hasEmoji = $this->faker->boolean(80); // 80% chance of having unicode emoji $hasEmoji = $this->faker->boolean(80); // 80% chance of having Unicode emoji
return [ return [
'title' => $this->faker->words(2, true), 'title' => $this->faker->words(2, true),