Commit 67ff73a
committed
Fix TypeError bug where modifiedFiles is null
SourceFileProcessor::$modifiedFiles ends up being null if the list of
modified files is empty. Since it is null, and not an empty string, this
would throw a TypeError because null is not an array.
The fix is to initialize SourceFileProcessor::$modifiedFiles on object
construction.1 parent 990c5bd commit 67ff73a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments