| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function toOptionArray() |
||
| 18 | { |
||
| 19 | return [ |
||
| 20 | [ |
||
| 21 | 'value' => Schedule::STATUS_ERROR, |
||
| 22 | 'label' => __('Error'), |
||
| 23 | ], |
||
| 24 | [ |
||
| 25 | 'value' => Schedule::STATUS_MISSED, |
||
| 26 | 'label' => __('Missed'), |
||
| 27 | ], |
||
| 28 | [ |
||
| 29 | 'value' => Schedule::STATUS_PENDING, |
||
| 30 | 'label' => __('Pending'), |
||
| 31 | ], |
||
| 32 | [ |
||
| 33 | 'value' => Schedule::STATUS_RUNNING, |
||
| 34 | 'label' => __('Running'), |
||
| 35 | ], |
||
| 36 | [ |
||
| 37 | 'value' => Schedule::STATUS_SUCCESS, |
||
| 38 | 'label' => __('Success'), |
||
| 39 | ], |
||
| 40 | ]; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |