Passed
Push — dev5 ( 6692a0...1b6b88 )
by Ron
08:06
created
app/Http/Controllers/DashboardController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@  discard block
 block discarded – undo
25 25
         // Log::debug('Route "' . Route::currentRouteName() . '" visited by ' . Auth::user()->full_name);
26 26
 
27 27
         //  Get Dashboard data
28
-        $custFavs    = CustomerFavs::where('user_id', Auth::user()->user_id)
29
-            ->with(array('Customers' => function($query){
28
+        $custFavs = CustomerFavs::where('user_id', Auth::user()->user_id)
29
+            ->with(array('Customers' => function($query) {
30 30
                 $query->select('cust_id', 'name');
31 31
             }))
32 32
             ->get();
33
-        $tipFavs     = TechTipFavs::where('user_id', Auth::user()->user_id)
34
-            ->with(array('TechTips' => function($query){
33
+        $tipFavs = TechTipFavs::where('user_id', Auth::user()->user_id)
34
+            ->with(array('TechTips' => function($query) {
35 35
                 $query->select('tip_id', 'subject');
36 36
             }))
37 37
             ->get();
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $notification = Auth::user()->notifications()->where('id', $id)->where('notifiable_id', Auth::user()->user_id)->first();
91 91
         if(!$notification)
92 92
         {
93
-            Log::error('User ' . Auth::user()->full_name . ' tried to delete an invalid notification.  Notification ID: ' . $id);
93
+            Log::error('User '.Auth::user()->full_name.' tried to delete an invalid notification.  Notification ID: '.$id);
94 94
             return abort(404);
95 95
         }
96 96
 
Please login to merge, or discard this patch.