Commit 6c247f7
committed
fix(laravel): handle string max_errors from environment variables
Change is_int() guard to is_numeric() + (int) cast so that string
values returned by env() (e.g. "10") are accepted instead of silently
falling back to the default.1 parent c7d8774 commit 6c247f7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments