File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/org/nameapi/client/services/riskdetector Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ final class DataItem {
3939
4040 public function __construct ($ value ) {
4141 if ($ value !=='NAME ' && $ value !=='ADDRESS ' && $ value !=='AGE ' && $ value !=='EMAIL ' && $ value !=='TEL ' ) {
42- throw new \Exception ('Invalid value for RiskType : ' .$ value .'! ' );
42+ throw new \Exception ('Invalid value for DataItem : ' .$ value .'! ' );
4343 }
4444 $ this ->value = $ value ;
4545 }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ final class DisguiseRiskType extends RiskType {
5151
5252 public function __construct ($ value ) {
5353 if ($ value !=='PADDING ' && $ value !=='STUTTER_TYPING ' && $ value !=='SPACED_TYPING ' && $ value !=='OTHER ' ) {
54- throw new \Exception ('Invalid value for RiskType : ' .$ value .'! ' );
54+ throw new \Exception ('Invalid value for DisguiseRiskType : ' .$ value .'! ' );
5555 }
5656 $ this ->value = $ value ;
5757 }
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ final class FakeRiskType extends RiskType {
7979
8080 public function __construct ($ value ) {
8181 if ($ value !=='RANDOM_TYPING ' && $ value !=='PLACEHOLDER ' && $ value !=='FICTIONAL ' && $ value !=='FAMOUS ' && $ value !=='HUMOROUS ' && $ value !=='INVALID ' && $ value !=='OTHER ' ) {
82- throw new \Exception ('Invalid value for RiskType : ' .$ value .'! ' );
82+ throw new \Exception ('Invalid value for FakeRiskType : ' .$ value .'! ' );
8383 }
8484 $ this ->value = $ value ;
8585 }
You can’t perform that action at this time.
0 commit comments