Skip to content
Permalink
Browse files

Fixing a missing argument - thanks to Neandher Carlos in the comments!

  • Loading branch information
weaverryan committed Sep 11, 2015
1 parent 4105b06 commit 2007abd022d87b78d92f663bd22e10f30c80d56d
Showing with 1 addition and 0 deletions.
  1. +1 −0 knpu/episode1/error-api-problem-exception.rst
@@ -213,6 +213,7 @@ function to ``throwApiProblemValidationException``::
private function throwApiProblemValidationException(array $errors)
{
$apiProblem = new ApiProblem(
400,
ApiProblem::TYPE_VALIDATION_ERROR
);
$apiProblem->set('errors', $errors);

0 comments on commit 2007abd

Please sign in to comment.
You can’t perform that action at this time.