Skip to content

Commit

Permalink
Fix inconsistent return points.
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Aug 7, 2019
1 parent b3ce7da commit 3065926
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ private function getNormalizer($data, $format, array $context)
return $normalizer;
}
}

return null;
}

/**
Expand All @@ -262,6 +264,8 @@ private function getDenormalizer($data, $class, $format, array $context)
return $normalizer;
}
}

return null;
}

/**
Expand Down

0 comments on commit 3065926

Please sign in to comment.