aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/database.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-08 17:48:29 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-08 17:48:29 -0500
commitb2bcd510b040b6d065a3a6ad5a4ea36e43db0446 (patch)
tree6a6eaae7e7d29d0b61f8ae43572f8b87b52161b2 /engine/lib/database.php
parent4f4f5a8be736c36ca8af0cd65731dd7c64da3b1a (diff)
downloadelgg-b2bcd510b040b6d065a3a6ad5a4ea36e43db0446.tar.gz
elgg-b2bcd510b040b6d065a3a6ad5a4ea36e43db0446.tar.bz2
coding standards fixes - comments
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r--engine/lib/database.php14
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);