Skip to content

Commit

Permalink
Add docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Oct 13, 2014
1 parent 752488d commit 321a908
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Exception/FormErrorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Jsor\Stack\Hal\Exception;

use Nocarrier\Hal;
use Symfony\Component\Form\FormError;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;

Expand Down Expand Up @@ -42,6 +43,7 @@ public function getHal()

private function appendErrors(Hal $hal, FormInterface $form, $path)
{
/* @var $error FormError */
foreach ($form->getErrors() as $error) {
$data = array(
'message' => $error->getMessage()
Expand Down

0 comments on commit 321a908

Please sign in to comment.