Skip to content

Commit 61d2b39

Browse files
authored
Merge pull request #411 from viralsolani/analysis-qJYQBV
Apply fixes from StyleCI
2 parents d95b0bc + bd13740 commit 61d2b39

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/Exceptions/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function render($request, Exception $exception)
8888
*/
8989
if ($exception instanceof UnauthorizedHttpException) {
9090
switch (get_class($exception->getPrevious())) {
91-
case \App\Exceptions\Handler::class:
91+
case self::class:
9292
return $this->setStatusCode($exception->getStatusCode())->respondWithError('Token has not been provided.');
9393
}
9494
}

routes/api.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
/*
54
|--------------------------------------------------------------------------
65
| API Routes

0 commit comments

Comments
 (0)