@@ -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) |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | { |
| 190 | 190 | return array_values(array_filter( |
| 191 | 191 | $this->lines, |
| 192 | - function (Line $line) { |
|
| 192 | + function(Line $line) { |
|
| 193 | 193 | return $line->getType() === Line::REMOVED; |
| 194 | 194 | } |
| 195 | 195 | )); |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | { |
| 205 | 205 | return array_values(array_filter( |
| 206 | 206 | $this->lines, |
| 207 | - function (Line $line) { |
|
| 207 | + function(Line $line) { |
|
| 208 | 208 | return $line->getType() === Line::ADDED; |
| 209 | 209 | } |
| 210 | 210 | )); |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | public function getLinesContent() |
| 219 | 219 | { |
| 220 | 220 | return array_map( |
| 221 | - function (Line $line) { |
|
| 221 | + function(Line $line) { |
|
| 222 | 222 | return $line->getContent(); |
| 223 | 223 | }, |
| 224 | 224 | $this->getAddedLines() |