Passed
Branch master (49bf98)
by Oguzhan
02:52
created
src/HydratableTrait.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,8 @@  discard block
 block discarded – undo
69 69
             // Convert key to a propertyname in $this
70 70
             try {
71 71
                 $this->hydrateProperty($itemKey, $itemValue, $reflection);
72
-            } catch (\Exception $e) {
72
+            }
73
+            catch (\Exception $e) {
73 74
                 if ($failOnError) {
74 75
                     throw $e;
75 76
                 }
@@ -113,7 +114,8 @@  discard block
 block discarded – undo
113 114
             }
114 115
 
115 116
             $this->setPropertyValue($propertyName, $value, true);
116
-        } catch (\Exception $e) {
117
+        }
118
+        catch (\Exception $e) {
117 119
             throw $e;
118 120
         }
119 121
     }
Please login to merge, or discard this patch.