@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | { |
204 | 204 | return array_values(array_filter( |
205 | 205 | $this->lines, |
206 | - function (Line $line) { |
|
206 | + function(Line $line) { |
|
207 | 207 | return $line->getType() == Line::REMOVED; |
208 | 208 | } |
209 | 209 | )); |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | { |
219 | 219 | return array_values(array_filter( |
220 | 220 | $this->lines, |
221 | - function (Line $line) { |
|
221 | + function(Line $line) { |
|
222 | 222 | return $line->getType() == Line::ADDED; |
223 | 223 | } |
224 | 224 | )); |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | public function getLinesContent() |
233 | 233 | { |
234 | 234 | return array_map( |
235 | - function (Line $line) { |
|
235 | + function(Line $line) { |
|
236 | 236 | return $line->getContent(); |
237 | 237 | }, |
238 | 238 | $this->getAddedLines() |
@@ -66,7 +66,7 @@ |
||
66 | 66 | |
67 | 67 | $baseLines = Line::createArray( |
68 | 68 | array_map( |
69 | - function ($l) { |
|
69 | + function($l) { |
|
70 | 70 | return [$l, 0]; |
71 | 71 | }, |
72 | 72 | self::splitStringByLines($base) |