Skip to content

Commit 241c093

Browse files
authored
Fix syntax error
1 parent ebba17d commit 241c093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/FrontControllerDispatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function beforeDispatch(FrontControllerInterface $subject, RequestInterfa
4242
public function afterDispatch(FrontControllerInterface $subject, $result, RequestInterface $request): mixed
4343
{
4444
if ($this->config->isEnabled() && !$request->isXmlHttpRequest()) {
45-
$exceptions = $result instanceof WebapiResponse::class ? $result->getException() : '';
45+
$exceptions = $result instanceof WebapiResponse ? $result->getException() : '';
4646
if ($exceptions !== []) {
4747
$responseCode = '';
4848
$responseBody = '';

0 commit comments

Comments
 (0)