From bf8d1a2dd4b9cb5cdec1c73da8a56f6b6a080cc5 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 24 Apr 2018 08:10:50 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- Blacklight/Releases.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Blacklight/Releases.php b/Blacklight/Releases.php index 24735f49c..97a645eb4 100755 --- a/Blacklight/Releases.php +++ b/Blacklight/Releases.php @@ -9,9 +9,9 @@ use App\Models\Category; use App\Models\Settings; use Illuminate\Support\Carbon; use Blacklight\utility\Utility; +use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Cache; use Illuminate\Contracts\Pagination\LengthAwarePaginator; -use Illuminate\Support\Facades\DB; /** * Class Releases. @@ -251,15 +251,14 @@ class Releases if ($postFrom !== '') { $dateParts = explode('/', $postFrom); if (\count($dateParts) === 3) { - $query->where('r.postdate', '>', $dateParts[2].'-'.$dateParts[1].'-'.$dateParts[0]. '00:00:00'); + $query->where('r.postdate', '>', $dateParts[2].'-'.$dateParts[1].'-'.$dateParts[0].'00:00:00'); } } if ($postTo !== '') { $dateParts = explode('/', $postTo); if (\count($dateParts) === 3) { - - $query->where('r.postdate', '<', $dateParts[2].'-'.$dateParts[1].'-'.$dateParts[0]. '23:59:59'); + $query->where('r.postdate', '<', $dateParts[2].'-'.$dateParts[1].'-'.$dateParts[0].'23:59:59'); } }