File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,12 @@ protected function checkInput($data)
114
114
{
115
115
if (is_string ($ data )){
116
116
$ value = $ this ->validateInput ($ data );
117
- if ($ value ==false ) throw new Exception \InvalidArgumentException ('Invalid data. Please enter a valid country or currency name ' );
117
+ if ($ value === false ) throw new Exception \InvalidArgumentException ('Invalid data. Please enter a valid country or currency name ' );
118
118
}else if (is_array ($ data )){
119
119
$ value = array ();
120
120
foreach ($ data as $ single ){
121
121
$ opt = $ this ->validateInput ($ single );
122
- if ($ opt ==false ) throw new Exception \InvalidArgumentException ('Invalid data. Please enter array with a valid country or currency names ' );
122
+ if ($ opt === false ) throw new Exception \InvalidArgumentException ('Invalid data. Please enter array with a valid country or currency names ' );
123
123
array_push ($ value , $ opt );
124
124
}
125
125
}else {
You can’t perform that action at this time.
0 commit comments