Passed
Push — master ( f3018e...0ac1cb )
by Tolan
04:22
created
lib/StructClass.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,15 +117,15 @@
 block discarded – undo
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
                     }
Please login to merge, or discard this patch.