Completed
Push — master ( fc8a08...ec9e0a )
by Andrey
06:15 queued 02:31
created
app/Repositories/SettingRepository.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,14 +20,14 @@
 block discarded – undo
20 20
     public function getSetting()
21 21
     {
22 22
         $columns = [
23
-      // 'id',
24
-      'name',
25
-      'value',
23
+        // 'id',
24
+        'name',
25
+        'value',
26 26
     ];
27 27
 
28 28
         $result = $this->startConditions()
29
-      ->select($columns)
30
-      ->get();
29
+        ->select($columns)
30
+        ->get();
31 31
 
32 32
         $setting = $result->mapWithKeys(function ($item) {
33 33
             return [$item['name'] => $item['value']];
Please login to merge, or discard this patch.
app/Repositories/ScriptRepository.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,17 +20,17 @@
 block discarded – undo
20 20
     public function getScripts()
21 21
     {
22 22
         $columns = [
23
-      // 'id',
24
-      // 'name',
25
-      'data',
26
-      'top',
23
+        // 'id',
24
+        // 'name',
25
+        'data',
26
+        'top',
27 27
     ];
28 28
 
29 29
         $result = $this->startConditions()
30
-      ->active()
31
-      ->select($columns)
32
-      ->toBase()
33
-      ->get();
30
+        ->active()
31
+        ->select($columns)
32
+        ->toBase()
33
+        ->get();
34 34
 
35 35
         $result = $result->groupBy('top');
36 36
         // dd($result);
Please login to merge, or discard this patch.