@@ -86,7 +86,7 @@ discard block |
||
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 |
||
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 | } |