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