@@ -3538,7 +3538,7 @@ PHP_METHOD(Phar, copy)
3538
3538
}
3539
3539
/* }}} */
3540
3540
3541
- /* {{{ proto int Phar::offsetExists(string entry)
3541
+ /* {{{ proto bool Phar::offsetExists(string entry)
3542
3542
* determines whether a file exists in the phar
3543
3543
*/
3544
3544
PHP_METHOD (Phar , offsetExists )
@@ -3575,7 +3575,7 @@ PHP_METHOD(Phar, offsetExists)
3575
3575
}
3576
3576
/* }}} */
3577
3577
3578
- /* {{{ proto int Phar::offsetGet(string entry)
3578
+ /* {{{ proto PharFileInfo Phar::offsetGet(string entry)
3579
3579
* get a PharFileInfo object for a specific file
3580
3580
*/
3581
3581
PHP_METHOD (Phar , offsetGet )
@@ -3755,7 +3755,7 @@ static void phar_mkdir(phar_archive_data **pphar, char *dirname, size_t dirname_
3755
3755
}
3756
3756
/* }}} */
3757
3757
3758
- /* {{{ proto int Phar::offsetSet(string entry, string value)
3758
+ /* {{{ proto void Phar::offsetSet(string entry, string value)
3759
3759
* set the contents of an internal file to those of an external file
3760
3760
*/
3761
3761
PHP_METHOD (Phar , offsetSet )
@@ -3793,7 +3793,7 @@ PHP_METHOD(Phar, offsetSet)
3793
3793
}
3794
3794
/* }}} */
3795
3795
3796
- /* {{{ proto int Phar::offsetUnset(string entry)
3796
+ /* {{{ proto bool Phar::offsetUnset(string entry)
3797
3797
* remove a file from a phar
3798
3798
*/
3799
3799
PHP_METHOD (Phar , offsetUnset )
0 commit comments