aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggPriorityList.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-03-15 08:22:32 -0400
committerCash Costello <cash.costello@gmail.com>2013-03-15 08:22:32 -0400
commit4cd8bc8d68008f509ce97b2e31e1e5ccfec7bdf0 (patch)
tree9db349c6db09e24be04061c2115fae791386713a /engine/classes/ElggPriorityList.php
parenta7b63dd21dbc6aa9e7509878dab6734e118ac198 (diff)
downloadelgg-4cd8bc8d68008f509ce97b2e31e1e5ccfec7bdf0.tar.gz
elgg-4cd8bc8d68008f509ce97b2e31e1e5ccfec7bdf0.tar.bz2
fixed some coding standards issues as detected by code sniffer
Diffstat (limited to 'engine/classes/ElggPriorityList.php')
-rw-r--r--engine/classes/ElggPriorityList.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/engine/classes/ElggPriorityList.php b/engine/classes/ElggPriorityList.php
index b5f8fe163..416df885c 100644
--- a/engine/classes/ElggPriorityList.php
+++ b/engine/classes/ElggPriorityList.php
@@ -165,9 +165,9 @@ class ElggPriorityList
/**
* Move an existing element to a new priority.
*
- * @param mixed $element The element to move
- * @param int $new_priority The new priority for the element
- * @param bool $strict Whether to check the type of the element match
+ * @param mixed $element The element to move
+ * @param int $new_priority The new priority for the element
+ * @param bool $strict Whether to check the type of the element match
* @return bool
*/
public function move($element, $new_priority, $strict = false) {
@@ -354,7 +354,12 @@ class ElggPriorityList
return ($key !== NULL && $key !== FALSE);
}
- // Countable
+ /**
+ * Countable interface
+ *
+ * @see Countable::count()
+ * @return int
+ */
public function count() {
return count($this->elements);
}