Skip to content

Commit 8854097

Browse files
authored
Update DumperException.php
1 parent cb0549c commit 8854097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dumper/Exceptions/DumperException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function render(?Request $request = null): Response
9292

9393
$code = Response::HTTP_INTERNAL_SERVER_ERROR;
9494

95-
if (\is_int($current_code = $this->getCode()) && $current_code > 0) {
95+
if (($current_code = $this->getCode()) > 0) {
9696
$code = $current_code;
9797
}
9898

0 commit comments

Comments
 (0)