1
0
mirror of https://github.com/flarum/core.git synced 2025-08-17 22:01:44 +02:00

satisfying styleci, undo mysql in travis

This commit is contained in:
Daniel Klabbers
2017-10-05 14:02:54 +02:00
parent 1c01145a14
commit 3f9dc81874
3 changed files with 3 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ class IlluminateValidationExceptionHandler implements ExceptionHandlerInterface
public function handle(Exception $e)
{
$status = 422;
$errors = $this->formatErrors($e->errors());
return new ResponseBag($status, $errors);