Skip to content

Commit 627516a

Browse files
committed
Fixing PHPStan issue
1 parent a3c1aec commit 627516a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/WebonyxGraphqlMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private function decideHttpCode($result): int
137137
return $this->httpCodeDecider->decideHttpStatusCode($executionResult);
138138
}, $result);
139139

140-
return max($codes);
140+
return (int) max($codes);
141141
}
142142

143143
// @codeCoverageIgnoreStart

0 commit comments

Comments
 (0)