[Fusionforge-commits] r17980 - trunk/src/common/include
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Tue Sep 17 11:56:06 CEST 2013
Author: vargenau
Date: 2013-09-17 11:56:06 +0200 (Tue, 17 Sep 2013)
New Revision: 17980
Modified:
trunk/src/common/include/utils.php
Log:
boolean --> bool
Modified: trunk/src/common/include/utils.php
===================================================================
--- trunk/src/common/include/utils.php 2013-09-17 09:53:31 UTC (rev 17979)
+++ trunk/src/common/include/utils.php 2013-09-17 09:56:06 UTC (rev 17980)
@@ -166,8 +166,8 @@
* Currently, test is very basic, only the protocol is
* checked, allowed values are: http, https, ftp.
*
- * @param string $url The URL
- * @return boolean true if valid, false if not valid.
+ * @param string $url The URL
+ * @return bool true if valid, false if not valid.
*/
function util_check_url($url) {
return (preg_match('/^(http|https|ftp):\/\//', $url) > 0);
@@ -254,7 +254,7 @@
* @param string $headername The name of the header (e.g. "Subject")
* @param string $str The email subject
* @param string $charset The converting charset (like ISO-2022-JP)
- * @return string The MIME encoded subject
+ * @return string The MIME encoded subject
*
*/
function util_encode_mimeheader($headername, $str, $charset) {
More information about the Fusionforge-commits
mailing list