@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | { |
| 91 | 91 | $element = $this->xml->xpath($path); |
| 92 | 92 | if (isset($element[0]) && $element[0] instanceof SimpleXMLElement) { |
| 93 | - return (string)$element[0]; |
|
| 93 | + return (string) $element[0]; |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | return null; |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | { |
| 107 | 107 | $raw = $this->xpath2string('//mxc:datafield[@tag="215"]/mxc:subfield[@code="a"]'); |
| 108 | 108 | if (!empty($raw) && preg_match('#([0-9]{2,}) p\.#', $raw, $matches) > 0) { |
| 109 | - return (string)$matches[1]; |
|
| 109 | + return (string) $matches[1]; |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | return null; |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | $raw = $this->xpath2string('//srw:recordIdentifier[1]/text()'); |
| 191 | 191 | |
| 192 | 192 | if ($raw && preg_match('#ark:/[0-9]+/cb([0-9]+)#', $raw, $matches) > 0) { |
| 193 | - return (string)$matches[1]; |
|
| 193 | + return (string) $matches[1]; |
|
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | return null; |