@@ -28,10 +28,10 @@ discard block |
||
| 28 | 28 | if (isset($meta['citation_firstpage'])) { |
| 29 | 29 | $page = $meta['citation_firstpage']; |
| 30 | 30 | if (isset($meta['citation_lastpage'])) { |
| 31 | - $page .= '–' . $meta['citation_lastpage']; |
|
| 31 | + $page .= '–'.$meta['citation_lastpage']; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - return (string)$page; |
|
| 34 | + return (string) $page; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | return null; |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | } catch (Exception $e) { |
| 165 | 165 | // 23/11/2015 00:00:00 |
| 166 | 166 | if (isset($this->log) && method_exists($this->log, 'notice')) { |
| 167 | - $this->log->notice('tryFormatDateOrComment failed with ' . $str); |
|
| 167 | + $this->log->notice('tryFormatDateOrComment failed with '.$str); |
|
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | return sprintf('<!-- %s -->', $str); |