diff --git a/src/includes/class/class.LSattr_html_select_list.php b/src/includes/class/class.LSattr_html_select_list.php
index 905c83e4..69afc4fb 100644
--- a/src/includes/class/class.LSattr_html_select_list.php
+++ b/src/includes/class/class.LSattr_html_select_list.php
@@ -187,11 +187,11 @@ class LSattr_html_select_list extends LSattr_html{
* Function use with uasort to sort two values in ASC order
*
* @param string $va One value
- * @param string $va One value
+ * @param string $vb Another value
*
* @return int Value for uasort
**/
- protected static function _sortTwoValuesAsc(&$va,&$vb) {
+ protected static function _sortTwoValuesAsc($va,$vb) {
if (is_array($va)) {
// Force sub-options at the end
$nva='ZZZZ'.$va['label'];
@@ -217,11 +217,11 @@ class LSattr_html_select_list extends LSattr_html{
* Function use with uasort to sort two values in DESC order
*
* @param string $va One value
- * @param string $va One value
+ * @param string $vb Another value
*
* @return int Value for uasort
**/
- protected static function _sortTwoValuesDesc(&$va,&$vb) {
+ protected static function _sortTwoValuesDesc($va,$vb) {
return (-1 * static :: _sortTwoValuesAsc($va,$vb));
}
diff --git a/src/includes/class/class.LSformElement_select_object.php b/src/includes/class/class.LSformElement_select_object.php
index f83cb4fd..fddd912b 100644
--- a/src/includes/class/class.LSformElement_select_object.php
+++ b/src/includes/class/class.LSformElement_select_object.php
@@ -149,11 +149,11 @@ class LSformElement_select_object extends LSformElement {
* Function use with uasort to sort two values
*
* @param array $va One value
- * @param array $va One value
+ * @param array $va Another value
*
* @return int Value for uasort
**/
- private function _sortTwoValues(&$va,&$vb) {
+ private function _sortTwoValues($va, $vb) {
if ($this -> getParam('html_options.sortDirection') == 'DESC') {
$dir=-1;
}
diff --git a/src/includes/class/class.LSsearch.php b/src/includes/class/class.LSsearch.php
index 8f8bdf08..b63c07e0 100644
--- a/src/includes/class/class.LSsearch.php
+++ b/src/includes/class/class.LSsearch.php
@@ -1392,12 +1392,12 @@ class LSsearch extends LSlog_staticLoggerClass {
/**
* Function use with uasort to sort two entry
*
- * @param LSsearchEntry &$a One entry of result
- * @param LSsearchEntry &$b One entry of result
+ * @param LSsearchEntry $a One entry of result
+ * @param LSsearchEntry $b Another entry of result
*
* @return int Value for uasort
**/
- private function _sortTwoEntry(&$a,&$b) {
+ private function _sortTwoEntry($a, $b) {
$sortBy = $this -> params['sortBy'];
$sortDirection = $this -> params['sortDirection'];
if ($sortDirection=='ASC') {