File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ public function getChanges(Differ $differ): array
89
89
// the old and the new may not be exactly the same
90
90
// because of ignoreCase, ignoreWhitespace, etc
91
91
$ lines = \array_slice ($ old , $ i1 , $ i2 - $ i1 );
92
- $ hunk [$ lastBlock ]['old ' ]['lines ' ] + = $ this ->formatLines ($ lines );
92
+ $ hunk [$ lastBlock ]['old ' ]['lines ' ] = $ this ->formatLines ($ lines );
93
93
$ lines = \array_slice ($ new , $ j1 , $ j2 - $ j1 );
94
- $ hunk [$ lastBlock ]['new ' ]['lines ' ] + = $ this ->formatLines ($ lines );
94
+ $ hunk [$ lastBlock ]['new ' ]['lines ' ] = $ this ->formatLines ($ lines );
95
95
96
96
continue ;
97
97
}
@@ -105,7 +105,7 @@ public function getChanges(Differ $differ): array
105
105
$ lines
106
106
);
107
107
108
- $ hunk [$ lastBlock ]['old ' ]['lines ' ] + = $ lines ;
108
+ $ hunk [$ lastBlock ]['old ' ]['lines ' ] = $ lines ;
109
109
}
110
110
111
111
if ($ tag & (SequenceMatcher::OP_REP | SequenceMatcher::OP_INS )) {
@@ -117,7 +117,7 @@ public function getChanges(Differ $differ): array
117
117
$ lines
118
118
);
119
119
120
- $ hunk [$ lastBlock ]['new ' ]['lines ' ] + = $ lines ;
120
+ $ hunk [$ lastBlock ]['new ' ]['lines ' ] = $ lines ;
121
121
}
122
122
}
123
123
You can’t perform that action at this time.
0 commit comments