Commit ccd0745
authored
Prevent Undefined offset error
For some reason the argument `$tokens` comes sometime as a numeric array starting with an index greater than 0. In this case the loop with `$tokenNumber` starting at 0 will not be able to read the token and will throw an error `Undefined offset`1 parent c58ac6c commit ccd0745
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
0 commit comments