Skip to content

Commit adf857c

Browse files
committed
Small if statment cleanup
1 parent 86e45c0 commit adf857c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApacheModRewriteGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function generateRewrite( string $from, string $to, int $type ) : string
5050
);
5151
}
5252

53-
if( ($fromScheme && $toScheme) && $fromScheme !== $toScheme && $toHost && $fromHost === $toHost ) {
53+
if( $fromScheme && $toScheme && $toHost && $fromScheme !== $toScheme && $fromHost === $toHost ) {
5454
throw new MismatchedSchemeException('Scheme specified on "FROM" of "' . $fromScheme . '" and "TO" of "' . $toScheme . '" do not match.');
5555
}
5656

0 commit comments

Comments
 (0)