Skip to content

Commit 37fe259

Browse files
committed
style
1 parent fa47e35 commit 37fe259

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/HTTP/Message/PSGI.pm

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ my $FALSE = !$TRUE;
1616
sub req_to_psgi {
1717
my $req = shift;
1818

19-
Carp::croak("Request is not HTTP::Request: $req")
20-
unless Scalar::Util::blessed $req && $req->isa('HTTP::Request');
19+
unless (Scalar::Util::blessed($req) && $req->isa('HTTP::Request')) {
20+
Carp::croak("Request is not HTTP::Request: $req");
21+
}
2122

2223
# from HTTP::Request::AsCGI
2324
my $host = $req->header('Host');

0 commit comments

Comments
 (0)