Completed
Push — swp-2190-php8 ( 0a5542...2dfbd3 )
by
unknown
44s
created
src/SWP/Component/MultiTenancy/Resolver/TenantResolver.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             return $domainString;
87 87
         }
88 88
 
89
-        return $domainString . '.' . $result->suffix()->toString();
89
+        return $domainString.'.'.$result->suffix()->toString();
90 90
     }
91 91
 
92 92
     protected function extractSubdomain(string $host = null): string
@@ -119,15 +119,15 @@  discard block
 block discarded – undo
119 119
      */
120 120
     private function getPublicSuffixList(): string
121 121
     {
122
-        return $this->cacheProvider->get('suffix_list', function (ItemInterface $item) {
123
-            $dir = __DIR__ . '/../';
122
+        return $this->cacheProvider->get('suffix_list', function(ItemInterface $item) {
123
+            $dir = __DIR__.'/../';
124 124
             $filesystem = new Filesystem();
125
-            if (!$filesystem->exists($dir . $this->suffixListFilename)) {
125
+            if (!$filesystem->exists($dir.$this->suffixListFilename)) {
126 126
                 throw new \LogicException(
127 127
                     'Public suffix list file not found. Run swp:public-suffix-list:get command'
128 128
                 );
129 129
             }
130
-            return file_get_contents($dir . $this->suffixListFilename);
130
+            return file_get_contents($dir.$this->suffixListFilename);
131 131
         });
132 132
     }
133 133
 }
Please login to merge, or discard this patch.