Skip to content

Commit ac1859b

Browse files
committed
Merge pull request #32 from rtuin/feature/fix-readme-typo
Fix a small typo in the readme file
2 parents 788c3a9 + 1e29564 commit ac1859b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class MyController extends AbstractActionController
219219
{
220220
$entity = $this->model->fetch($id);
221221
if (! $entity) {
222-
return new ApiProblemResponse(ApiProblem(404, 'Entity not found'));
222+
return new ApiProblemResponse(new ApiProblem(404, 'Entity not found'));
223223
}
224224
return $entity;
225225
}

0 commit comments

Comments
 (0)