Skip to content

Commit 486a389

Browse files
authored
Merge pull request #42 from BenoitDuffez/fix_return_bool_phpdoc
fix @return true... to @return bool true... on some functions
2 parents 737f594 + bc21637 commit 486a389

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Archive/Tar.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public function __destruct()
280280
* single string with names separated by a single
281281
* blank space.
282282
*
283-
* @return true on success, false on error.
283+
* @return bool true on success, false on error.
284284
* @see createModify()
285285
*/
286286
public function create($p_filelist)
@@ -300,7 +300,7 @@ public function create($p_filelist)
300300
* single string with names separated by a single
301301
* blank space.
302302
*
303-
* @return true on success, false on error.
303+
* @return bool true on success, false on error.
304304
* @see createModify()
305305
* @access public
306306
*/
@@ -443,7 +443,7 @@ public function createModify($p_filelist, $p_add_dir, $p_remove_dir = '')
443443
* each element in the list, when
444444
* relevant.
445445
*
446-
* @return true on success, false on error.
446+
* @return bool true on success, false on error.
447447
*/
448448
public function addModify($p_filelist, $p_add_dir, $p_remove_dir = '')
449449
{
@@ -496,7 +496,7 @@ public function addModify($p_filelist, $p_add_dir, $p_remove_dir = '')
496496
* gid => the group ID of the file
497497
* (default = 0 = root)
498498
*
499-
* @return true on success, false on error.
499+
* @return bool true on success, false on error.
500500
*/
501501
public function addString($p_filename, $p_string, $p_datetime = false, $p_params = array())
502502
{
@@ -622,7 +622,7 @@ public function extractInString($p_filename)
622622
* @param boolean $p_preserve Preserve user/group ownership of files
623623
* @param boolean $p_symlinks Allow symlinks.
624624
*
625-
* @return true on success, false on error.
625+
* @return bool true on success, false on error.
626626
* @see extractModify()
627627
*/
628628
public function extractList($p_filelist, $p_path = '', $p_remove_path = '', $p_preserve = false, $p_symlinks = true)
@@ -660,7 +660,7 @@ public function extractList($p_filelist, $p_path = '', $p_remove_path = '', $p_p
660660
* list of parameters, in the format attribute code + attribute values :
661661
* $arch->setAttribute(ARCHIVE_TAR_ATT_SEPARATOR, ',');
662662
*
663-
* @return true on success, false on error.
663+
* @return bool true on success, false on error.
664664
*/
665665
public function setAttribute()
666666
{

0 commit comments

Comments
 (0)