From 90a79e5372a81b063536ae719134a373332e9713 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Thu, 10 Sep 2020 20:10:59 +0700 Subject: [PATCH] cs fix --- src/HttpsTrait.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/HttpsTrait.php b/src/HttpsTrait.php index 2be1018..b1ae85b 100644 --- a/src/HttpsTrait.php +++ b/src/HttpsTrait.php @@ -40,15 +40,17 @@ private function isGoingToBeForcedToHttps($match = null): bool $matchedRouteName = $match->getMatchedRouteName(); if ($this->config['force_all_routes']) { - if (! empty($this->config['exclude_specific_routes']) - && \in_array($matchedRouteName, $this->config['exclude_specific_routes'])) { + if ( + ! empty($this->config['exclude_specific_routes']) + && in_array($matchedRouteName, $this->config['exclude_specific_routes']) + ) { return false; } return true; } - if (! \in_array($matchedRouteName, $this->config['force_specific_routes'])) { + if (! in_array($matchedRouteName, $this->config['force_specific_routes'])) { return false; }