@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | if (!empty($name)) { |
| 100 | 100 | $this->metadata['author'][$i] = [ |
| 101 | 101 | 'name' => $name, |
| 102 | - 'url' => 'https://orcid.org/' . $orcidId |
|
| 102 | + 'url' => 'https://orcid.org/'.$orcidId |
|
| 103 | 103 | ]; |
| 104 | 104 | } else { |
| 105 | 105 | //fallback into display form |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | } |
| 147 | 147 | // Append "valueURI" to name using Unicode unit separator. |
| 148 | 148 | if (isset($authors[$i]['valueURI'])) { |
| 149 | - $this->metadata['author'][$i] .= chr(31) . (string) $authors[$i]['valueURI']; |
|
| 149 | + $this->metadata['author'][$i] .= chr(31).(string) $authors[$i]['valueURI']; |
|
| 150 | 150 | } |
| 151 | 151 | } |
| 152 | 152 | |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | if (!empty($name)) { |
| 188 | 188 | $this->metadata['holder'][$i] = [ |
| 189 | 189 | 'name' => $name, |
| 190 | - 'url' => 'http://viaf.org/viaf/' . $viafId |
|
| 190 | + 'url' => 'http://viaf.org/viaf/'.$viafId |
|
| 191 | 191 | ]; |
| 192 | 192 | } else { |
| 193 | 193 | //fallback into display form |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | $this->getHolderFromXmlDisplayForm($holders, $i); |
| 200 | 200 | // Append "valueURI" to name using Unicode unit separator. |
| 201 | 201 | if (isset($holders[$i]['valueURI'])) { |
| 202 | - $this->metadata['holder'][$i] .= chr(31) . (string) $holders[$i]['valueURI']; |
|
| 202 | + $this->metadata['holder'][$i] .= chr(31).(string) $holders[$i]['valueURI']; |
|
| 203 | 203 | } |
| 204 | 204 | } |
| 205 | 205 | |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | array_unshift($metadata, $data); |
| 113 | 113 | } |
| 114 | 114 | if (empty($metadata)) { |
| 115 | - $this->logger->warning('No metadata found for document with UID ' . $this->document->getUid()); |
|
| 115 | + $this->logger->warning('No metadata found for document with UID '.$this->document->getUid()); |
|
| 116 | 116 | return ''; |
| 117 | 117 | } |
| 118 | 118 | ksort($metadata); |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | if (empty(implode('', $value)) && $this->settings['getTitle'] && $this->document->getPartof()) { |
| 216 | 216 | $superiorTitle = Doc::getTitle($this->document->getPartof(), true); |
| 217 | 217 | if (!empty($superiorTitle)) { |
| 218 | - $metadata[$i][$name] = ['[' . $superiorTitle . ']']; |
|
| 218 | + $metadata[$i][$name] = ['['.$superiorTitle.']']; |
|
| 219 | 219 | } |
| 220 | 220 | } |
| 221 | 221 | if (!empty($value)) { |