diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-08 17:48:29 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-08 17:48:29 -0500 |
commit | b2bcd510b040b6d065a3a6ad5a4ea36e43db0446 (patch) | |
tree | 6a6eaae7e7d29d0b61f8ae43572f8b87b52161b2 /engine/lib/database.php | |
parent | 4f4f5a8be736c36ca8af0cd65731dd7c64da3b1a (diff) | |
download | elgg-b2bcd510b040b6d065a3a6ad5a4ea36e43db0446.tar.gz elgg-b2bcd510b040b6d065a3a6ad5a4ea36e43db0446.tar.bz2 |
coding standards fixes - comments
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php index c44fdf1fd..444bb7cc4 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -728,9 +728,9 @@ function sanitize_string($string) { /** * Sanitises an integer for database use. * - * @param int $int Integer - * @param bool[optional] $signed Whether negative values should be allowed (true) - * @return int Sanitised integer + * @param int $int Value to be sanitized + * @param bool $signed Whether negative values should be allowed (true) + * @return int */ function sanitise_int($int, $signed = true) { $int = (int) $int; @@ -745,12 +745,12 @@ function sanitise_int($int, $signed = true) { } /** - * Sanitises an integer for database use. + * Sanitizes an integer for database use. * Wrapper function for alternate English spelling (@see sanitise_int) * - * @param int $int Integer - * @param bool[optional] $signed Whether negative values should be allowed (true) - * @return int Sanitised integer + * @param int $int Value to be sanitized + * @param bool $signed Whether negative values should be allowed (true) + * @return int */ function sanitize_int($int, $signed = true) { return sanitise_int($int, $signed); |