From 285786d1a5ac74a8f3c0e84976be31cb021d63ba Mon Sep 17 00:00:00 2001 From: cp6 Date: Mon, 31 Oct 2022 11:17:30 +1100 Subject: [PATCH] Minor comment fixup Minor comment fixup --- app/Models/Settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Settings.php b/app/Models/Settings.php index 009bca9..35e853e 100644 --- a/app/Models/Settings.php +++ b/app/Models/Settings.php @@ -47,9 +47,9 @@ class Settings extends Model public static function orderByProcess(int $value): array { - if ($value === 1) {//Created_at ASC + if ($value === 1) {//created_at ASC return ['created_at', 'asc']; - } elseif ($value === 2) {//Created_at DESC + } elseif ($value === 2) {//created_at DESC return ['created_at', 'desc']; } elseif ($value === 3) {//next_due_date ASC return ['next_due_date', 'asc'];