Conditions | 5 |
Paths | 5 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
67 | protected function printValue(array $values): void |
||
68 | { |
||
69 | if ($this->item instanceof Item) { |
||
|
|||
70 | foreach ($values as $value) { |
||
71 | switch ($value) { |
||
72 | case 'author': |
||
73 | printf('%s: %s', ' Author', $this->item->getAuthor()); |
||
74 | break; |
||
75 | case 'album': |
||
76 | printf('%s: %s', ' Album', $this->item->getAlbum()); |
||
77 | break; |
||
78 | } |
||
83 |