Skip to content

Commit

Permalink
fixed return type (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroMinoccheri authored and othillo committed Jan 7, 2019
1 parent 5745145 commit 412ce18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Broadway/Serializer/ReflectionSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ private function serializeValue($value)
return $this->serializeObjectRecursively($value);
} elseif (is_array($value)) {
return $this->serializeArrayRecursively($value);
} else {
return $value;
}

return $value;
}

/**
Expand Down Expand Up @@ -107,9 +107,9 @@ private function deserializeValue($value)
return $this->deserializeObjectRecursively($value);
} elseif (is_array($value)) {
return $this->deserializeArrayRecursively($value);
} else {
return $value;
}

return $value;
}

/**
Expand Down

0 comments on commit 412ce18

Please sign in to comment.