Commit 9e6703a
authored
Fix
PHP8 throws a `TypeError` when we pass an array to `preg_match`, suppression with `@` doesn't work in this scenario. Since `preg_match()` would never return a truthy value if not passed a string this change shouldn't impact any other cases or PHP versions.TypeError in PHP81 parent b7406c7 commit 9e6703a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
| 1433 | + | |
1434 | 1434 | | |
1435 | 1435 | | |
1436 | 1436 | | |
| |||
0 commit comments