@@ -30,10 +30,10 @@ |
||
| 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 | |