Skip to content

Commit

Permalink
Update exception request type
Browse files Browse the repository at this point in the history
  • Loading branch information
keithbauer committed Oct 22, 2024
1 parent 3c3819f commit 3f6a3f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controller/CheckinRequestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use NYPL\Starter\Filter;
use Slim\Http\Request;
use Slim\Http\Response;
use GuzzleHttp\Psr7\ServerRequest;

/**
* Class CheckinRequestController
Expand Down Expand Up @@ -261,7 +262,7 @@ protected function sendCircOperation(CheckinRequest $checkinRequest)
* @param Request $request
* @return \Slim\Http\Response
*/
protected function processException($errorType, $errorMessage, \Exception $exception, Request $request)
protected function processException($errorType, $errorMessage, \Exception $exception, ServerRequest $request)
{
$statusCode = 500;
if ($exception instanceof APIException) {
Expand Down

0 comments on commit 3f6a3f7

Please sign in to comment.