@@ -328,7 +328,7 @@ |
||
328 | 328 | 'modifs' => mb_substr(implode(',', $this->getSummaryLog()), 0, 250), |
329 | 329 | 'notcosmetic' => ($this->notCosmetic) ? 1 : 0, |
330 | 330 | 'major' => ($this->major) ? 1 : 0, |
331 | - 'isbn' => substr($isbn,0,19), |
|
331 | + 'isbn' => substr($isbn, 0, 19), |
|
332 | 332 | 'version' => WikiBotConfig::VERSION ?? null, |
333 | 333 | ]; |
334 | 334 | $this->log->info('finalData', $finalData); |
@@ -111,10 +111,10 @@ discard block |
||
111 | 111 | if (isset($meta['citation_firstpage'])) { |
112 | 112 | $page = $meta['citation_firstpage']; |
113 | 113 | if (isset($meta['citation_lastpage'])) { |
114 | - $page .= '–' . $meta['citation_lastpage']; |
|
114 | + $page .= '–'.$meta['citation_lastpage']; |
|
115 | 115 | } |
116 | 116 | |
117 | - return (string)$page; |
|
117 | + return (string) $page; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | return null; |
@@ -340,7 +340,7 @@ discard block |
||
340 | 340 | $this->log->notice('EXCEPTION DATE'); |
341 | 341 | } |
342 | 342 | |
343 | - return '<!-- ' . $str . ' -->'; |
|
343 | + return '<!-- '.$str.' -->'; |
|
344 | 344 | } |
345 | 345 | |
346 | 346 | return $date->format('d-m-Y'); |