Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function getProgressHtml(ProgressDataInterface $progressData): string |
||
28 | { |
||
29 | return $progressData->getCurrent() |
||
30 | ? "{$progressData->getProcessType()} progress: " |
||
31 | . "<progress max=\"{$progressData->getTotal()}\" value=\"{$progressData->getCurrent()}\"></progress> " |
||
32 | . "({$progressData->getCurrent()}/{$progressData->getTotal()})" |
||
33 | : ''; |
||
34 | } |
||
35 | } |
||
36 |