Test Failed
Push — master ( 0c2ad6...e8c327 )
by Terzi
05:02
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.
src/Collection/Mutable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
      * @return $this|BaseCollection
154 154
      * @throws Exception
155 155
      */
156
-    public function switch($id, $value)
156
+    public function switch ($id, $value)
157 157
     {
158 158
         if ($position = $this->position($id)) {
159 159
             $this->offsetSet($position, $value);
Please login to merge, or discard this patch.