Test Failed
Push — master ( 896190...229b43 )
by Terzi
06:26 queued 12s
created
src/Dashboard/Panels/MembersPanel.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
 
18 18
         $total = $this->createModel()->count();
19 19
         $signedLastWeek = $this->createModel()
20
-                                 ->where('created_at', '>=', $weekAgo)->count();
20
+                                    ->where('created_at', '>=', $weekAgo)->count();
21 21
         $signedLastMonth = $this->createModel()
22
-                                 ->where('created_at', '>=', $monthAgo)->count();
22
+                                    ->where('created_at', '>=', $monthAgo)->count();
23 23
         $signedStatistics = $this->createModel()
24
-                                 ->where('created_at', '>=', $monthAgo)
25
-                                 ->select([DB::raw('COUNT(id) AS cnt'), DB::raw('DATE(created_at) as dt')])
26
-                                 ->groupBy('dt')->pluck('cnt', 'dt');
24
+                                    ->where('created_at', '>=', $monthAgo)
25
+                                    ->select([DB::raw('COUNT(id) AS cnt'), DB::raw('DATE(created_at) as dt')])
26
+                                    ->groupBy('dt')->pluck('cnt', 'dt');
27 27
 
28 28
         return view(app('scaffold.template')->dashboard('members'), [
29 29
             'total' => $total,
Please login to merge, or discard this patch.
src/Controllers/ScaffoldController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
 
193 193
             $instance = $eloquent
194 194
                 ->when($searchByKey, function ($query) use ($searchableKey, $term) {
195
-                    return $query->where($searchableKey, (int)$term);
195
+                    return $query->where($searchableKey, (int) $term);
196 196
                 })
197 197
                 ->when(!$searchByKey, function ($query) use ($searchableKey, $term) {
198 198
                     return $query->orWhere($searchableKey, 'LIKE', "%{$term}%");
Please login to merge, or discard this patch.