Completed
Push — master ( 53eef0...537748 )
by Freek
12:00 queued 08:42
created
app/Repositories/ArticleRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
     {
31 31
         return Cache::rememberForever(
32 32
             "article.specialArticle.{$specialArticle}",
33
-            function () use ($specialArticle) {
33
+            function() use ($specialArticle) {
34 34
                 $article = Article::where('technical_name', $specialArticle)->first();
35 35
 
36
-                if (! $article) {
36
+                if (!$article) {
37 37
                     throw new Exception("There is no article with technical_name `{$specialArticle}`");
38 38
                 }
39 39
 
Please login to merge, or discard this patch.