Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
martiendt authored and StyleCIBot committed Nov 7, 2017
1 parent 010bf51 commit 121e5b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Exceptions/ApiExceptionHandler.php
Expand Up @@ -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' => [
Expand Down Expand Up @@ -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' => [
Expand All @@ -48,7 +48,7 @@ public function apiExceptions($request, Exception $exception)
], 500);
}

/** Handle other exception */
/* Handle other exception */
return response()->json([
'error' => [
'code' => $exception->getCode(),
Expand Down

0 comments on commit 121e5b1

Please sign in to comment.