@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Packagist Mirror. |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | */ |
| 165 | 165 | protected function isGzFile(string $file):bool |
| 166 | 166 | { |
| 167 | - if(substr($this->getGzName($file), -3) == '.gz'){ |
|
| 167 | + if (substr($this->getGzName($file), -3) == '.gz') { |
|
| 168 | 168 | return true; |
| 169 | 169 | } |
| 170 | 170 | |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | $path = $this->getGzName($file); |
| 188 | 188 | $link = $this->getLink($path); |
| 189 | 189 | |
| 190 | - if($this->hasLink($link)){ |
|
| 190 | + if ($this->hasLink($link)) { |
|
| 191 | 191 | return $this; |
| 192 | 192 | } |
| 193 | 193 | |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | */ |
| 322 | 322 | protected function getFullPath(string $path):string |
| 323 | 323 | { |
| 324 | - if(strpos($path, $this->directory) !== false){ |
|
| 324 | + if (strpos($path, $this->directory) !== false) { |
|
| 325 | 325 | return $path; |
| 326 | 326 | } |
| 327 | 327 | |