| Conditions | 1 |
| Paths | 1 |
| Total Lines | 33 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function rules() |
||
| 34 | { |
||
| 35 | return array_merge( |
||
| 36 | parent::rules(), |
||
| 37 | [ |
||
| 38 | [ |
||
| 39 | [ |
||
| 40 | 'providerId', |
||
| 41 | 'pluginId' |
||
| 42 | ], |
||
| 43 | 'number', |
||
| 44 | 'integerOnly' => true |
||
| 45 | ], |
||
| 46 | [ |
||
| 47 | [ |
||
| 48 | 'tokenId', |
||
| 49 | 'pluginId' |
||
| 50 | ], |
||
| 51 | 'required' |
||
| 52 | ], |
||
| 53 | [ |
||
| 54 | [ |
||
| 55 | 'tokenId', |
||
| 56 | 'pluginId' |
||
| 57 | ], |
||
| 58 | 'safe', |
||
| 59 | 'on' => [ |
||
| 60 | ModelHelper::SCENARIO_DEFAULT |
||
| 61 | ] |
||
| 62 | ] |
||
| 63 | ] |
||
| 64 | ); |
||
| 65 | } |
||
| 66 | |||
| 90 |