Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing a missing argument - thanks to Neandher Carlos in the comments!
  • Loading branch information
weaverryan committed Sep 11, 2015
1 parent 4105b06 commit 2007abd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions knpu/episode1/error-api-problem-exception.rst
Expand Up @@ -213,6 +213,7 @@ function to ``throwApiProblemValidationException``::
private function throwApiProblemValidationException(array $errors)
{
$apiProblem = new ApiProblem(
400,
ApiProblem::TYPE_VALIDATION_ERROR
);
$apiProblem->set('errors', $errors);
Expand Down

0 comments on commit 2007abd

Please sign in to comment.