Commit 3251263
committed
Ensure no error in CustomerInfo when country param is null
In newer version of PHP, if a param has a type hint of `string` but
receives `null` instead, it will throw an error. This ensures that a
null value is also acceptable in `get_valid_country_code`.1 parent 49a0c9d commit 3251263
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments