Skip to content

Commit bd245fd

Browse files
committed
Reverted erroneous fix.
1 parent b9e5c7e commit bd245fd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Rehyved/Utilities/Mapper/ObjectMapper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,6 @@ private function coerceType($value, \ReflectionType $type)
255255
public function mapObjectToArray($object, string $prefix = "")
256256
{
257257
if (!is_object($object)) {
258-
if(is_bool($object)){
259-
return $object === true? "true" : "false";
260-
}
261258
return $object;
262259
}
263260
if (get_class($object) === \stdClass::class) {

0 commit comments

Comments
 (0)