| @@ -3,10 +3,12 @@ | ||
| 3 | 3 | namespace BitCode\BitForm\Core\Fallback; |
| 4 | 4 | |
| 5 | 5 | use BitCode\BitForm\Core\Database\FormModel; |
| 6 | 6 | |
| 7 | -class Validation { | |
| 8 | - public function errorMessage() { | |
| 7 | +class Validation | |
| 8 | +{ | |
| 9 | + public function errorMessage() | |
| 10 | + { | |
| 9 | 11 | $formModel = new FormModel(); |
| 10 | 12 | $forms = $formModel->get( |
| 11 | 13 | ['id', 'form_content'] |
| 12 | 14 | ); |
| @@ -106,9 +108,10 @@ | ||
| 106 | 108 | } |
| 107 | 109 | } |
| 108 | 110 | } |
| 109 | 111 | |
| 110 | - public function email() { | |
| 112 | + public function email() | |
| 113 | + { | |
| 111 | 114 | $formModel = new FormModel(); |
| 112 | 115 | $forms = $formModel->get( |
| 113 | 116 | ['id', 'form_content'] |
| 114 | 117 | ); |