Skip to content

Commit 4c96888

Browse files
committed
Merge branch 'hotfix/32' into develop
Forward port #32
2 parents 42fcc52 + ac1859b commit 4c96888

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)