@@ -58,8 +58,10 @@ |
||
58 | 58 | $this->fileSizeBytes = $fileSizeBytes; |
59 | 59 | $this->mime = $mime; |
60 | 60 | |
61 | - if (empty(self::$template)) // avoid disk IO for every item instance |
|
61 | + if (empty(self::$template)) { |
|
62 | + // avoid disk IO for every item instance |
|
62 | 63 | self::$template = file_get_contents(__DIR__ . '/templates/item.xml'); |
64 | + } |
|
63 | 65 | } |
64 | 66 | |
65 | 67 | public function getXml(): string { |