Skip to content

Commit ab5f14e

Browse files
author
TeleMessage
committed
removed echo error message remained by mistake
1 parent 60cdd6e commit ab5f14e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

grinfeld_phpjsonable.phar

0 Bytes
Binary file not shown.

src/transformers/BeanTransformer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function transform($obj, OutputStream $output, Configuration $conf) {
4747
if ($refMethod->isPublic())
4848
$val = $refMethod->invoke($obj);
4949
} catch (\Exception $e) {}
50-
if ($val == null) {
50+
if (!isset($val)) {
5151
$prop->setAccessible(true);
5252
$val = $prop->getValue($obj);
5353
}

0 commit comments

Comments
 (0)