1
0
mirror of https://github.com/flarum/core.git synced 2025-10-18 02:06:08 +02:00

Throw an exception if discussion not found

closes flarum/core#208
This commit is contained in:
Toby Zerner
2015-08-06 13:59:09 +09:30
parent de42c316c0
commit 2553f4f0a3
2 changed files with 14 additions and 1 deletions

View File

@@ -13,4 +13,9 @@ class Response
{
return json_decode($this->response->getBody());
}
public function getStatusCode()
{
return $this->response->getStatusCode();
}
}