@@ -120,7 +120,7 @@ |
||
120 | 120 | |
121 | 121 | // Case 3: Domain with suffix & subdomain. |
122 | 122 | |
123 | - return implode('.', [$this->subdomain, $this->hostname, $this->suffix]); |
|
123 | + return implode('.', [ $this->subdomain, $this->hostname, $this->suffix ]); |
|
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | $suffix = $this->extractSuffix($hostname); |
191 | 191 | |
192 | 192 | if ($suffix === $hostname) { |
193 | - return [null, $hostname, null]; |
|
193 | + return [ null, $hostname, null ]; |
|
194 | 194 | } |
195 | 195 | |
196 | 196 | if (null !== $suffix) { |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | $lastDot = Str::strrpos($hostname, '.'); |
201 | 201 | |
202 | 202 | if (false === $lastDot) { |
203 | - return [null, $hostname, $suffix]; |
|
203 | + return [ null, $hostname, $suffix ]; |
|
204 | 204 | } |
205 | 205 | |
206 | 206 | $subDomain = Str::substr($hostname, 0, $lastDot); |