Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2013-08-02 14:28:15 +0400
committersgiehl <stefan@piwik.org>2013-08-02 14:28:15 +0400
commit3b2afaac51c1cbb5b0689d457812056c12a9a18b (patch)
tree0d0ece02a36b551dd748dfa4bf707680eb7c840f /core/IP.php
parent61997f45e4c39360000e815c9e0853ae04e2f56f (diff)
fixed undefined classes in doc blocks
Diffstat (limited to 'core/IP.php')
-rw-r--r--core/IP.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/IP.php b/core/IP.php
index e4a87cb9ee..2940884ba8 100644
--- a/core/IP.php
+++ b/core/IP.php
@@ -39,7 +39,7 @@ class IP
* Sanitize human-readable IP address.
*
* @param string $ipString IP address
- * @return string|false
+ * @return string
*/
public static function sanitizeIp($ipString)
{
@@ -87,7 +87,7 @@ class IP
* - wildcards, e.g., 192.168.0.*
*
* @param string $ipRangeString IP address range
- * @return string|false IP address range in CIDR notation
+ * @return string|bool IP address range in CIDR notation OR false
*/
public static function sanitizeIpRange($ipRangeString)
{
@@ -261,7 +261,7 @@ class IP
* Get low and high IP addresses for a specified range.
*
* @param array $ipRange An IP address range in presentation format
- * @return array|false Array ($lowIp, $highIp) in network address format, or false if failure
+ * @return array|bool Array ($lowIp, $highIp) in network address format, or false if failure
*/
public static function getIpsForRange($ipRange)
{
@@ -449,7 +449,7 @@ class IP
* @link http://php.net/inet_ntop
*
* @param string $in_addr 32-bit IPv4 or 128-bit IPv6 address
- * @return string|false string representation of address or false on failure
+ * @return string|bool string representation of address or false on failure
*/
static public function php_compat_inet_ntop($in_addr)
{