Skip to content

Commit 8489eab

Browse files
committed
Fixes
1 parent 9d5f69e commit 8489eab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Serializer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ protected function extractAllInhertitedProperties($value, ReflectionClass $rc, a
552552
/* @var $property \ReflectionProperty */
553553
foreach ($rc->getProperties() as $property) {
554554
$property->setAccessible(true);
555-
$rp[$property->getName()] = $property->getValue($this);
555+
$rp[$property->getName()] = $property->getValue($value);
556556
}
557557
$data = \array_merge($rp, $data);
558558
} while ($rc = $rc->getParentClass());

src/Strategy/NullStrategy.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function serialize($value)
2727
}
2828

2929
/**
30-
* @param $value
30+
* @param string $value
3131
*
3232
* @return array
3333
*/

0 commit comments

Comments
 (0)