Test Failed
Pull Request — master (#77)
by Terzi
05:49
created
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.
src/Dashboard/Panels/MembersPanel.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
 
19 19
         $total = $this->createModel()->count();
20 20
         $signedLastWeek = $this->createModel()
21
-                                 ->where('created_at', '>=', $weekAgo)->count();
21
+                                    ->where('created_at', '>=', $weekAgo)->count();
22 22
         $signedLastMonth = $this->createModel()
23
-                                 ->where('created_at', '>=', $monthAgo)->count();
23
+                                    ->where('created_at', '>=', $monthAgo)->count();
24 24
         $signedStatistics = $this->createModel()
25
-                                 ->where('created_at', '>=', $monthAgo)
26
-                                 ->select([DB::raw('COUNT(id) AS cnt'), DB::raw('DATE(created_at) as dt')])
27
-                                 ->groupBy('dt')->pluck('cnt', 'dt');
25
+                                    ->where('created_at', '>=', $monthAgo)
26
+                                    ->select([DB::raw('COUNT(id) AS cnt'), DB::raw('DATE(created_at) as dt')])
27
+                                    ->groupBy('dt')->pluck('cnt', 'dt');
28 28
 
29 29
         return view(Architect::template()->dashboard('members'), [
30 30
             'total' => $total,
Please login to merge, or discard this patch.