Completed
Push — master ( f559c4...013adf )
by Sebastian
05:14 queued 01:23
created
app/Models/Article.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         return Cache::rememberForever(
23 23
             "article.findByTechnicalName.{$technicalName}",
24
-            function () use ($technicalName):Article {
24
+            function() use ($technicalName):Article {
25 25
                 $article = static::where('technical_name', $technicalName)->first();
26 26
 
27 27
                 if ($article === null) {
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         return Cache::rememberForever(
39 39
             "article.getWithTechnicalNameLike.{$technicalName}",
40
-            function () use ($technicalName):Collection {
40
+            function() use ($technicalName):Collection {
41 41
                 return static::where('technical_name', 'like', "{$technicalName}.%")
42 42
                     ->orderBy('order_column')
43 43
                     ->get();
Please login to merge, or discard this patch.