diff --git a/composer.json b/composer.json index beaf524..9f2cccd 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "php": ">=8.4", "ext-fileinfo": "*", - "league/flysystem": "^3.34" + "league/flysystem": "^3.35.2" }, "require-dev": { "infocyph/phpforge": "dev-main" diff --git a/src/FileManager/FileCompression.php b/src/FileManager/FileCompression.php index c15aa4c..ae221ac 100644 --- a/src/FileManager/FileCompression.php +++ b/src/FileManager/FileCompression.php @@ -116,8 +116,6 @@ public function __destruct() * @param string|null $zipPath The path in the ZIP archive where the file should be stored. * If not provided, the file will be stored in the root directory of the ZIP file, * with its original name. - * - * @return $this */ public function addFile(string $filePath, ?string $zipPath = null): self { @@ -146,7 +144,6 @@ public function addFile(string $filePath, ?string $zipPath = null): self * desired paths inside the ZIP archive. If a value is not provided for * a key, the basename of the file will be used as the path in the ZIP * archive. - * @return $this */ public function batchAddFiles(array $files): self { @@ -238,7 +235,6 @@ public function checkIntegrity(): bool * Compress a file or directory into the ZIP archive. * * @param string $source The path to the file or directory to compress. - * @return static */ public function compress(string $source): self { @@ -283,7 +279,6 @@ public function compress(string $source): self * * @param string $source The path to the file or directory to compress. * @param list $extensions An array of file extensions to include. - * @return static */ public function compressWithFilter(string $source, array $extensions = []): self { @@ -309,7 +304,6 @@ public function compressWithFilter(string $source, array $extensions = []): self * decrypted with this password. * * @param string|null $destination The path to decompress the ZIP archive to. - * @return static * @throws CompressionException */ public function decompress(?string $destination = null): self @@ -443,7 +437,6 @@ public function save(): self * `decompress()`. * * @param string $path The default path to use for decompression. - * @return static */ public function setDefaultDecompressionPath(string $path): self {