Skip to content

Commit 1e29564

Browse files
committed
Fix a small typo in the readme file
1 parent 788c3a9 commit 1e29564

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)