Skip to content

Commit eaaa3a0

Browse files
committed
chore: remove redundant enum for interaction
1 parent 9ecae2d commit eaaa3a0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Enums/InteractionTypeEnum.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
enum InteractionTypeEnum: string
66
{
7-
case DEFAULT = 'default';
87
case NEUTRAL = 'neutral';
98
case LIKE = 'like';
109
case DISLIKE = 'dislike';
@@ -83,8 +82,7 @@ public function getTypeByValue(string $value): InteractionTypeEnum
8382
self::LIKE->value => self::LIKE,
8483
self::DISLIKE->value => self::DISLIKE,
8584
self::LOVE->value => self::LOVE,
86-
self::NEUTRAL->value => self::NEUTRAL,
87-
default => self::DEFAULT,
85+
default => self::NEUTRAL,
8886
};
8987
}
9088

0 commit comments

Comments
 (0)