From 121e5b18e3a623f07341d5e0f063c2931db2191e Mon Sep 17 00:00:00 2001 From: Martien Dermawan Tanama Date: Tue, 7 Nov 2017 14:18:41 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Exceptions/ApiExceptionHandler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Exceptions/ApiExceptionHandler.php b/app/Exceptions/ApiExceptionHandler.php index 1d89e4e77..4594ef8c6 100644 --- a/app/Exceptions/ApiExceptionHandler.php +++ b/app/Exceptions/ApiExceptionHandler.php @@ -10,7 +10,7 @@ trait ApiExceptionHandler { public function apiExceptions($request, Exception $exception) { - /** Resource not found */ + /* Resource not found */ if ($exception instanceof NotFoundHttpException) { return response()->json([ 'error' => [ @@ -38,7 +38,7 @@ public function apiExceptions($request, Exception $exception) ], 422); } - /** Handle server error or library error */ + /* Handle server error or library error */ if ($exception->getCode() >= 500 || ! $exception->getCode()) { return response()->json([ 'error' => [ @@ -48,7 +48,7 @@ public function apiExceptions($request, Exception $exception) ], 500); } - /** Handle other exception */ + /* Handle other exception */ return response()->json([ 'error' => [ 'code' => $exception->getCode(),