Skip to content
Browse files

fixed doc comments

  • Loading branch information...
1 parent 803d60d commit 239061ddb0a4a93660447a3711fb88b7a41da72c @lsmith77 lsmith77 committed Dec 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 View/View.php
  2. +1 −1 View/ViewHandler.php
View
2 View/View.php
@@ -193,7 +193,7 @@ public function setSerializerGroups($serializerGroups)
/**
* set the serializer callback
*
- * function (\FOS\RestBundle\View\ViewHnadler $viewHandler, \JMS\SerializerBundle\Serializer\SerializerInterface $serializer) { .. }
+ * function (\FOS\RestBundle\View\ViewHandler $viewHandler, \JMS\SerializerBundle\Serializer\SerializerInterface $serializer) { .. }
*
* @param callable $serializerCallback
* @return View
View
2 View/ViewHandler.php
@@ -161,7 +161,7 @@ protected function getRouter()
*
* @param View $view view instance from which the serializer should be configured
*
- * @return \JMS\SerializerBundle\Serializer\SerializerInterface
+ * @return object that must provide a "serialize()" method
*/
protected function getSerializer(View $view = null)
{

0 comments on commit 239061d

Please sign in to comment.
Something went wrong with that request. Please try again.