We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a3996 commit cd3ae2cCopy full SHA for cd3ae2c
src/HttpsTrait.php
@@ -39,13 +39,12 @@ private function isGoingToBeForcedToHttps($match = null) : bool
39
return $this->config['allow_404'];
40
}
41
42
+ if ($this->config['force_all_routes']) {
43
+ return true;
44
+ }
45
+
46
Assert::notNull($match);
- if (! $this->config['force_all_routes'] &&
- ! \in_array(
- $match->getMatchedRouteName(),
- $this->config['force_specific_routes']
47
- )
48
- ) {
+ if (! \in_array($match->getMatchedRouteName(), $this->config['force_specific_routes'])) {
49
return false;
50
51
0 commit comments