Commit 9138441
Fix: Prevent using null as array offset in Package/PHP/Web (#228)
* Fix: Stop using null as array offset (Resolves #227)
* This also avoids accessing "path" on a null source when sourceInfo() returns null.
---------
Co-authored-by: lacatoire <[email protected]>1 parent 43855fa commit 9138441
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
208 | 215 | | |
209 | 216 | | |
210 | 217 | | |
| |||
0 commit comments