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 31a5aa5 commit 90a79e5Copy full SHA for 90a79e5
1 file changed
src/HttpsTrait.php
@@ -40,15 +40,17 @@ private function isGoingToBeForcedToHttps($match = null): bool
40
$matchedRouteName = $match->getMatchedRouteName();
41
42
if ($this->config['force_all_routes']) {
43
- if (! empty($this->config['exclude_specific_routes'])
44
- && \in_array($matchedRouteName, $this->config['exclude_specific_routes'])) {
+ if (
+ ! empty($this->config['exclude_specific_routes'])
45
+ && in_array($matchedRouteName, $this->config['exclude_specific_routes'])
46
+ ) {
47
return false;
48
}
49
50
return true;
51
52
- if (! \in_array($matchedRouteName, $this->config['force_specific_routes'])) {
53
+ if (! in_array($matchedRouteName, $this->config['force_specific_routes'])) {
54
55
56
0 commit comments