From 00f5a7bc4c00ba916b3066d591a23f71e9414844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 22 Dec 2023 15:22:40 +0100 Subject: [PATCH] Update PclZipProxy.php --- htdocs/includes/odtphp/zip/PclZipProxy.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/includes/odtphp/zip/PclZipProxy.php b/htdocs/includes/odtphp/zip/PclZipProxy.php index 45ea50d5047..01d657a80a9 100644 --- a/htdocs/includes/odtphp/zip/PclZipProxy.php +++ b/htdocs/includes/odtphp/zip/PclZipProxy.php @@ -39,7 +39,7 @@ class PclZipProxy implements ZipInterface * Open a Zip archive * * @param string $filename the name of the archive to open - * @return true if openning has succeeded + * @return bool true if openning has succeeded */ public function open($filename) { @@ -56,7 +56,7 @@ class PclZipProxy implements ZipInterface * Retrieve the content of a file within the archive from its name * * @param string $name the name of the file to extract - * @return the content of the file in a string + * @return string the content of the file in a string */ public function getFromName($name) { @@ -77,7 +77,7 @@ class PclZipProxy implements ZipInterface * * @param string $localname the local path to the file in the archive * @param string $contents the content of the file - * @return true if the file has been successful added + * @return bool true if the file has been successful added */ public function addFromString($localname, $contents) { @@ -110,7 +110,7 @@ class PclZipProxy implements ZipInterface * * @param string $filename the path to the file we want to add * @param string $localname the local path to the file in the archive - * @return true if the file has been successful added + * @return bool true if the file has been successful added */ public function addFile($filename, $localname = null) { @@ -144,7 +144,7 @@ class PclZipProxy implements ZipInterface /** * Close the Zip archive - * @return true + * @return bool true */ public function close() {