Commit d220cab
authored
Initialize options array (#22)
PHP 8 throws warnings when accessing an undefined key in an array.
This PR adds default values to the `$options` array to avoid the warnings.
Even though there are error suppression operators (`@`) before accessing those values, custom error handlers still received that error and log/output it.1 parent 662257f commit d220cab
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments