| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 37 | protected function lines() |
||
| 38 | { |
||
| 39 | $formatter = Yii::$app->formatter; |
||
| 40 | |||
| 41 | return [ |
||
| 42 | sprintf('type: %s', ArrayHelper::getValue(TagInvalidationType::labels(), $this->model->invalidation_type_id, 'Unknown reason')), |
||
| 43 | sprintf('attempts: %s', $formatter->asInteger($this->model->invalidation_count)), |
||
| 44 | sprintf('next try: %s', $formatter->asDatetime($this->model->update_stats_after)), |
||
| 45 | ]; |
||
| 48 | } |