Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function extractUpdatesData(): void |
||
31 | { |
||
32 | foreach (get_array($this->searchTree, 'update-to') as $update) { |
||
33 | $this->resourceOutput['updates'][] = [ |
||
34 | 'timestamp' => $update['updated']['timestamp'], |
||
35 | 'identifier' => [ |
||
36 | 'doi' => get_string($update, 'DOI'), |
||
37 | ], |
||
38 | 'type' => UpdateTypesStandardiser::getType($update['type']), |
||
39 | ]; |
||
43 |