diff --git a/bz2/bz2.php b/bz2/bz2.php index f17769ef..554596d2 100644 --- a/bz2/bz2.php +++ b/bz2/bz2.php @@ -11,7 +11,7 @@ * and 'w' (write) are supported. Everything else will cause bzopen * to return FALSE. *

- * @return resource If the open fails, bzopen returns FALSE, otherwise + * @return resource|false If the open fails, bzopen returns FALSE, otherwise * it returns a pointer to the newly opened file. */ function bzopen ($filename, $mode) {} diff --git a/dba/dba.php b/dba/dba.php index 4203dba5..a84d80f5 100644 --- a/dba/dba.php +++ b/dba/dba.php @@ -117,7 +117,7 @@ * can act on behalf of them. *

* @param mixed $_ [optional] - * @return resource a positive handle on success or FALSE on failure. + * @return resource|false a positive handle on success or FALSE on failure. */ function dba_open ($path, $mode, $handler = null, $_ = null) {} @@ -140,7 +140,7 @@ function dba_open ($path, $mode, $handler = null, $_ = null) {} * can act on behalf of them. *

* @param mixed $_ [optional] - * @return resource a positive handle on success or FALSE on failure. + * @return resource|false a positive handle on success or FALSE on failure. */ function dba_popen ($path, $mode, $handler = null, $_ = null) {} diff --git a/fileinfo/fileinfo.php b/fileinfo/fileinfo.php index 322fcd90..f3b4150a 100644 --- a/fileinfo/fileinfo.php +++ b/fileinfo/fileinfo.php @@ -76,7 +76,7 @@ class finfo { * A .mime and/or .mgc suffix is added if * needed. *

- * @return resource a magic database resource on success or FALSE on failure. + * @return resource|false a magic database resource on success or FALSE on failure. */ function finfo_open ($options = null, $magic_file = null) {} diff --git a/shmop/shmop.php b/shmop/shmop.php index 057ada64..1b0c0949 100644 --- a/shmop/shmop.php +++ b/shmop/shmop.php @@ -22,7 +22,7 @@ * @param int $size

* The size of the shared memory block you wish to create in bytes *

- * @return resource On success shmop_open will return an id that you can + * @return resource|false On success shmop_open will return an id that you can * use to access the shared memory segment you've created. FALSE is * returned on failure. */