@@ -117,15 +117,15 @@ |
||
| 117 | 117 | if ($property instanceof StructClass) { |
| 118 | 118 | try{ |
| 119 | 119 | $property->validate(); |
| 120 | - }catch( \Exception $e ){ |
|
| 120 | + } catch( \Exception $e ){ |
|
| 121 | 121 | $errs .= $e->getMessage(); |
| 122 | 122 | } |
| 123 | - }elseif (is_array( $property )) { |
|
| 123 | + } elseif (is_array( $property )) { |
|
| 124 | 124 | foreach ($property as $element) { |
| 125 | 125 | if ($element instanceof StructClass) { |
| 126 | 126 | try{ |
| 127 | 127 | $element->validate(); |
| 128 | - }catch( \Exception $e ){ |
|
| 128 | + } catch( \Exception $e ){ |
|
| 129 | 129 | $errs .= $e->getMessage(); |
| 130 | 130 | } |
| 131 | 131 | } |