@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | 'total_editcount' => $this->autoEdits->getEditCount(), |
268 | 268 | 'automated_editcount' => $this->autoEdits->getAutomatedCount(), |
269 | 269 | ]; |
270 | - $ret['nonautomated_editcount'] = $ret['total_editcount'] - $ret['automated_editcount']; |
|
270 | + $ret['nonautomated_editcount'] = $ret['total_editcount']-$ret['automated_editcount']; |
|
271 | 271 | |
272 | 272 | if (isset($this->params['tools'])) { |
273 | 273 | $tools = $this->autoEdits->getToolCounts(); |
@@ -355,7 +355,7 @@ discard block |
||
355 | 355 | private function addFullPageTitlesAndContinue(string $type, array $out, array $data): array |
356 | 356 | { |
357 | 357 | // Add full_page_title (in addition to the existing page_title and page_namespace keys). |
358 | - $out[$type] = array_map(function ($rev) { |
|
358 | + $out[$type] = array_map(function($rev) { |
|
359 | 359 | return array_merge([ |
360 | 360 | 'full_page_title' => $this->getPageFromNsAndTitle( |
361 | 361 | (int)$rev['page_namespace'], |