From 1270a0b3a2a6fb7625a6018334988940b18d1b3d Mon Sep 17 00:00:00 2001 From: DCzajkowski Date: Sat, 15 Jul 2017 19:48:06 +0200 Subject: [PATCH] Fixed CI --- app/Exceptions/Handler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index f50d5897..4ae4e55d 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -47,7 +47,7 @@ public function render($request, Exception $exception) * Convert a validation exception into a response. * * @param \Illuminate\Http\Request $request - * @param Illuminate\Validation\ValidationException $exception + * @param \Illuminate\Validation\ValidationException $exception * @return \Illuminate\Http\Response */ protected function invalid($request, ValidationException $exception) @@ -59,8 +59,8 @@ protected function invalid($request, ValidationException $exception) return $request->expectsJson() ? response()->json(['message' => $message, 'errors' => $errors], 422) : redirect()->back()->withInput()->withErrors( - $errors, $exception->errorBag - ); + $errors, $exception->errorBag + ); } /**