Test Setup Failed
Branch master (bd9389)
by Herberto
03:28
created
src/ClassHelper.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         try {
74 74
             $reflectionMethod = new ReflectionMethod($classFqcn, $method);
75
-        }
76
-        catch (ReflectionException $e) {
75
+        } catch (ReflectionException $e) {
77 76
             return [];
78 77
         }
79 78
 
@@ -118,8 +117,7 @@  discard block
 block discarded – undo
118 117
     {
119 118
         try {
120 119
             return $class->getProperty($propertyName);
121
-        }
122
-        catch (ReflectionException $e) {
120
+        } catch (ReflectionException $e) {
123 121
             $parentClass = $class->getParentClass();
124 122
             if ($parentClass === false) {
125 123
                 throw $e;
Please login to merge, or discard this patch.