| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | protected function getFormControl() |
||
| 30 | { |
||
| 31 | 1 | $control = parent::getFormControl(); |
|
| 32 | 1 | $hint = 'Grido.HintNumber'; |
|
| 33 | 1 | $control->getControlPrototype()->title = sprintf($this->translate($hint), rand(1, 9)); |
|
| 34 | 1 | $control->getControlPrototype()->class[] = 'number'; |
|
| 35 | |||
| 36 | 1 | return $control; |
|
| 37 | } |
||
| 38 | |||
| 65 |