Skip to content

Commit

Permalink
Merge pull request #2402 from dafriend/RouteCollection-remove-superfl…
Browse files Browse the repository at this point in the history
…uous-check

Removed pointless isset() check
  • Loading branch information
MGatner authored Nov 15, 2019
2 parents 83023c6 + e52afb1 commit a42c765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Router/RouteCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ protected function create(string $verb, string $from, $to, array $options = null
}

// Limiting to subdomains?
else if (isset($options['subdomain']) && ! empty($options['subdomain']))
else if (! empty($options['subdomain']))
{
// If we don't match the current subdomain, then
// we don't need to add the route.
Expand Down

0 comments on commit a42c765

Please sign in to comment.