Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix @return true... to @return bool true... on some functions #42

Merged
merged 1 commit into from
Oct 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Archive/Tar.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public function __destruct()
* single string with names separated by a single
* blank space.
*
* @return true on success, false on error.
* @return bool true on success, false on error.
* @see createModify()
*/
public function create($p_filelist)
Expand All @@ -300,7 +300,7 @@ public function create($p_filelist)
* single string with names separated by a single
* blank space.
*
* @return true on success, false on error.
* @return bool true on success, false on error.
* @see createModify()
* @access public
*/
Expand Down Expand Up @@ -443,7 +443,7 @@ public function createModify($p_filelist, $p_add_dir, $p_remove_dir = '')
* each element in the list, when
* relevant.
*
* @return true on success, false on error.
* @return bool true on success, false on error.
*/
public function addModify($p_filelist, $p_add_dir, $p_remove_dir = '')
{
Expand Down Expand Up @@ -496,7 +496,7 @@ public function addModify($p_filelist, $p_add_dir, $p_remove_dir = '')
* gid => the group ID of the file
* (default = 0 = root)
*
* @return true on success, false on error.
* @return bool true on success, false on error.
*/
public function addString($p_filename, $p_string, $p_datetime = false, $p_params = array())
{
Expand Down Expand Up @@ -622,7 +622,7 @@ public function extractInString($p_filename)
* @param boolean $p_preserve Preserve user/group ownership of files
* @param boolean $p_symlinks Allow symlinks.
*
* @return true on success, false on error.
* @return bool true on success, false on error.
* @see extractModify()
*/
public function extractList($p_filelist, $p_path = '', $p_remove_path = '', $p_preserve = false, $p_symlinks = true)
Expand Down Expand Up @@ -660,7 +660,7 @@ public function extractList($p_filelist, $p_path = '', $p_remove_path = '', $p_p
* list of parameters, in the format attribute code + attribute values :
* $arch->setAttribute(ARCHIVE_TAR_ATT_SEPARATOR, ',');
*
* @return true on success, false on error.
* @return bool true on success, false on error.
*/
public function setAttribute()
{
Expand Down