@@ -216,7 +216,7 @@ |
||
| 216 | 216 | * |
| 217 | 217 | * @return int |
| 218 | 218 | */ |
| 219 | - public function getMask(): int { |
|
| 219 | + public function getMask(): int { |
|
| 220 | 220 | |
| 221 | 221 | return $this->mask; |
| 222 | 222 | |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | * @return Zip |
| 165 | 165 | * @throws ZipException |
| 166 | 166 | */ |
| 167 | - public function setPath(?string $path): self { |
|
| 167 | + public function setPath(?string $path) : self { |
|
| 168 | 168 | |
| 169 | 169 | if ( $path === null ) { |
| 170 | 170 | $this->path = null; |
@@ -453,7 +453,7 @@ discard block |
||
| 453 | 453 | * |
| 454 | 454 | * @throws ZipException |
| 455 | 455 | */ |
| 456 | - private function addItem(string $file, bool $flatroot = false, ?string $base = null): void { |
|
| 456 | + private function addItem(string $file, bool $flatroot = false, ?string $base = null) : void { |
|
| 457 | 457 | |
| 458 | 458 | $file = is_null($this->path) ? $file : "$this->path/$file"; |
| 459 | 459 | |