Commit c3b20ea
committed
fix(files): Don't try to use missing cache entries
The `Cache::get()` function can return `ICacheEntry` or `false`.
Added check ensures that `false` return value is not used as an array.
This silences: `Trying to access array offset on value of type bool` errors.
Signed-off-by: Jacek Tomasiak <jacek.tomasiak@gmail.com>1 parent 1af3a66 commit c3b20ea
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| |||
0 commit comments