From 5b006d142e17c602e9bbb7d8d10242a5efbfb089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=94=E5=93=A5?= Date: Sun, 14 Jan 2018 14:14:57 +0800 Subject: [PATCH] * Format code. --- module/report/model.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/module/report/model.php b/module/report/model.php index 85288b9ae3..99230d8fb3 100644 --- a/module/report/model.php +++ b/module/report/model.php @@ -414,7 +414,7 @@ class reportModel extends model * Get user todos. * * @access public - * @return void + * @return array */ public function getUserTodos() { @@ -453,6 +453,12 @@ class reportModel extends model } } +/** + * @param $pre + * @param $next + * + * @return int + */ function sortSummary($pre, $next) { if($pre['validRate'] == $next['validRate']) return 0;