owncloud/documentation — pull request #709 by oparoz (2014-12-12 21:07:50+00:00)
Title: Pass the HTTP status code directly in the constructor

My IDE is telling me this way of doing things doesn't not work
```
return new JSONResponse()->setStatus(Http::STATUS_NOT_FOUND);
```