From 6e73872efc02925328537163d65845677426c14c Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 6 Jan 2018 21:50:15 +0000 Subject: [PATCH] phpcs fix --- app/Http/Controllers/ArticlesController.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/ArticlesController.php b/app/Http/Controllers/ArticlesController.php index 9dd2f2db..df2f1988 100644 --- a/app/Http/Controllers/ArticlesController.php +++ b/app/Http/Controllers/ArticlesController.php @@ -31,7 +31,10 @@ class ArticlesController extends Controller { $article = Article::where('titleurl', $slug)->firstOrFail(); if ($article->updated_at->year != $year || $article->updated_at->month != $month) { - return redirect('/blog/' . $article->updated_at->year . '/' . $article->updated_at->format('m') .'/' . $slug); + return redirect('/blog/' + . $article->updated_at->year + . '/' . $article->updated_at->format('m') + .'/' . $slug); } return view('articles.show', compact('article'));