Completed
Push — master ( 12d971...3e6b7d )
by Terzi
03:07
created
src/Services/Finder.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@
 block discarded – undo
65 65
         // prevent duplicated execution
66 66
         if (null === $this->query && $this->model) {
67 67
             $this->initQuery()
68
-                 ->applyFilters()
69
-                 ->applySorting();
68
+                    ->applyFilters()
69
+                    ->applySorting();
70 70
 
71 71
             $this->query = $this->assembler()->getQuery();
72 72
         }
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
@@ -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/Services/Saver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
                 $value = $this->isFile($field) ? $this->request->file($name) : $this->request->get($name);
81 81
 
82
-                $value = $this->isBoolean($field) ? (bool)$value : $value;
82
+                $value = $this->isBoolean($field) ? (bool) $value : $value;
83 83
 
84 84
                 $value = $this->handleJsonType($name, $value);
85 85
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     protected function saveMedia()
220 220
     {
221 221
         if ($this->repository instanceof HasMedia) {
222
-            $media = (array)$this->request['_media_'];
222
+            $media = (array) $this->request['_media_'];
223 223
 
224 224
             if (!empty($trash = array_get($media, '_trash_', []))) {
225 225
                 $this->repository->media()->whereIn(
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
         $keys = explode('.', $this->getQualifiedRelatedKeyName($relation));
250 250
         $key = array_pop($keys);
251 251
 
252
-        return array_filter((array)$values[$key], function ($value) {
252
+        return array_filter((array) $values[$key], function ($value) {
253 253
             return null !== $value;
254 254
         });
255 255
     }
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     protected function appendTranslationsToRelations()
274 274
     {
275 275
         if (!empty($this->relations)) {
276
-            foreach (array_keys((array)$this->relations) as $relation) {
276
+            foreach (array_keys((array) $this->relations) as $relation) {
277 277
                 if ($translations = $this->input("{$relation}.translatable")) {
278 278
                     $this->relations[$relation] += $translations;
279 279
                 }
Please login to merge, or discard this patch.