| Total Complexity | 1 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class StatisticForm |
||
| 6 | { |
||
| 7 | public static function makeForm() |
||
| 8 | { |
||
| 9 | $form = []; |
||
| 10 | $form[] = [ |
||
| 11 | "label" => "Name", |
||
| 12 | "name" => "name", |
||
| 13 | "type" => "text", |
||
| 14 | "required" => true, |
||
| 15 | "validation" => "required|min:3|max:255", |
||
| 16 | "placeholder" => "You can only enter the letter only", |
||
| 17 | ]; |
||
| 18 | |||
| 19 | return $form; |
||
| 20 | } |
||
| 21 | } |