@@ -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 |