Passed
Push — dev5 ( eac481...52ae9a )
by Ron
08:27
created
app/Http/Controllers/DashboardController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,12 +48,12 @@
 block discarded – undo
48 48
         $totalLinks  = FileLinks::where('user_id', Auth::user()->user_id)->count();
49 49
 
50 50
         return view('dashboard', [
51
-           'custFavs'    => $custFavs,
52
-           'tipFavs'     => $tipFavs,
53
-           'tips30'      => $tips30Days,
54
-           'tipsAll'     => $tipsTotal,
55
-           'activeLinks' => $activeLinks,
56
-           'totalLinks'  => $totalLinks,
51
+            'custFavs'    => $custFavs,
52
+            'tipFavs'     => $tipFavs,
53
+            'tips30'      => $tips30Days,
54
+            'tipsAll'     => $tipsTotal,
55
+            'activeLinks' => $activeLinks,
56
+            'totalLinks'  => $totalLinks,
57 57
 //            'modules'       => $modules
58 58
         ]);
59 59
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Installer/SystemsController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -209,10 +209,10 @@  discard block
 block discarded – undo
209 209
     }
210 210
 
211 211
     //  Delete an existing system - note this will fail if the system has any customers or tech tips assigned to it
212
-   public function destroy($id)
213
-   {
214
-       //
215
-       try {
212
+    public function destroy($id)
213
+    {
214
+        //
215
+        try {
216 216
             SystemTypes::find($id)->delete();
217 217
             return response()->json(['success' => true, 'reason' => 'Equipment Successfully Deleted']);
218 218
         }
@@ -220,5 +220,5 @@  discard block
 block discarded – undo
220 220
         {
221 221
             return response()->json(['success' => false, 'reason' => 'Cannot delete this equipment.  It has Customers or Tech Tips assigned to it.  Please delete those first.']);
222 222
         }
223
-   }
223
+    }
224 224
 }
Please login to merge, or discard this patch.
database/seeds/DatabaseSeeder.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
     public function run()
13 13
     {
14 14
         //  TODO:  add seeders for demo setup
15
-         $this->call(UserTableSeeder::class);
16
-         $this->call(EquipmentSeeder::class);
17
-         $this->call(CustomerSeeder::class);
18
-         $this->call(TechTipsSeeder::class);
15
+            $this->call(UserTableSeeder::class);
16
+            $this->call(EquipmentSeeder::class);
17
+            $this->call(CustomerSeeder::class);
18
+            $this->call(TechTipsSeeder::class);
19 19
     }
20 20
 }
Please login to merge, or discard this patch.