Skip to content

Commit

Permalink
Merge pull request #37 from icetee/patch-2
Browse files Browse the repository at this point in the history
docs: Fixed variable name
  • Loading branch information
Xerkus committed May 9, 2021
2 parents bc805a4 + 430f6ef commit 9523a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/v2/doctrine.md
Expand Up @@ -323,7 +323,7 @@ class ShowAlbumHandler implements RequestHandlerInterface

$result = $entityRepository->find($request->getAttribute('id'));

if (empty($return)) {
if (empty($result)) {
throw new RuntimeException('Not Found', 404);
}

Expand Down

0 comments on commit 9523a77

Please sign in to comment.