Merge pull request #27212 from frederic34/patch-3
Update PclZipProxy.php
This commit is contained in:
commit
5fb3b4615f
1 changed files with 5 additions and 5 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue