| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function validationDefault(Validator $validator): Validator |
||
| 42 | { |
||
| 43 | $validator |
||
| 44 | ->notEmptyString('lockPeriod') |
||
| 45 | ->add('lockPeriod', ['isNumeric' => ['rule' => ['numeric']]]) |
||
| 46 | ->notEmptyString('lockUserId') |
||
| 47 | ->add('lockUserId', ['isNumeric' => ['rule' => ['numeric']]]); |
||
| 48 | |||
| 49 | return $validator; |
||
| 50 | } |
||
| 52 |