Skip to content

Commit

Permalink
removed echo error message remained by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
TeleMessage committed Oct 16, 2016
1 parent 2c71b19 commit 66023ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/transformers/BeanTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ public function transform($obj, OutputStream $output, Configuration $conf) {
$refMethod = new \ReflectionMethod($clazz, "get" . ucfirst($prop->getName()));
if ($refMethod->isPublic())
$val = $refMethod->invoke($obj);
} catch (\Exception $e) {
echo $e->getMessage();
}
} catch (\Exception $e) {}
if ($val == null) {
$prop->setAccessible(true);
$val = $prop->getValue($obj);
Expand Down

0 comments on commit 66023ee

Please sign in to comment.