Completed
Branch master (620afd)
by Alexander
04:43
created
Category
src/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Extract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.