Fix tests and CS

This commit is contained in:
Toby Zerner
2015-12-05 22:31:33 +10:30
parent 0cf000122f
commit d743e56bc1
10 changed files with 100 additions and 41 deletions

View File

@ -33,7 +33,7 @@ class ModelNotFoundExceptionHandler implements ExceptionHandlerInterface
{
$status = 404;
$error = [
'status' => '404',
'status' => (string) $status,
'code' => 'resource_not_found'
];