File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Antoineaugusti/LaravelSentimentAnalysis Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ public function decision($string)
3030 break ;
3131
3232 case 'neu ' :
33- return SELF ::NEUTRAL ;
33+ return self ::NEUTRAL ;
3434 break ;
3535
3636 case 'pos ' :
37- return SELF ::POSITIVE ;
37+ return self ::POSITIVE ;
3838 break ;
3939 }
4040 }
@@ -76,7 +76,7 @@ public function score($string)
7676 */
7777 public function isPositive ($ string )
7878 {
79- return $ this ->decision ($ string ) == SELF ::POSITIVE ;
79+ return $ this ->decision ($ string ) == self ::POSITIVE ;
8080 }
8181
8282 /**
@@ -96,6 +96,6 @@ public function isNegative($string)
9696 */
9797 public function isNeutral ($ string )
9898 {
99- return $ this ->decision ($ string ) == SELF ::NEUTRAL ;
99+ return $ this ->decision ($ string ) == self ::NEUTRAL ;
100100 }
101101}
You can’t perform that action at this time.
0 commit comments