@@ -202,7 +202,9 @@ |
||
| 202 | 202 | */ |
| 203 | 203 | private function validate( $component ) |
| 204 | 204 | { |
| 205 | - if( !($component instanceof ValidatableComponentInterface) ) return; |
|
| 205 | + if( !($component instanceof ValidatableComponentInterface) ) { |
|
| 206 | + return; |
|
| 207 | + } |
|
| 206 | 208 | |
| 207 | 209 | $name = $component->name; |
| 208 | 210 | $validate = $component->validation; |