Skip to content

Commit 17341e4

Browse files
committed
Fix psalm
1 parent 0d65ee6 commit 17341e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Middleware/ErrorCatcher.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
134134
} catch (Throwable $t) {
135135
$this->eventDispatcher?->dispatch(new ApplicationError($t));
136136
} finally {
137+
/** @psalm-suppress PossiblyNullArgument $t is set in catch() statement */
137138
return $this->generateErrorResponse($t, $request);
138139
}
139140
}

0 commit comments

Comments
 (0)