@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | public function getUserCustomerFavs() |
25 | 25 | { |
26 | 26 | $custFavs = CustomerFavs::where('user_id', $this->userID) |
27 | - ->with(array('Customers' => function($query){ |
|
27 | + ->with(array('Customers' => function($query) { |
|
28 | 28 | $query->select('cust_id', 'name'); |
29 | 29 | })) |
30 | 30 | ->get(); |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | public function getUserTechTipFavs() |
36 | 36 | { |
37 | 37 | $tipFavs = TechTipFavs::where('user_id', $this->userID) |
38 | - ->with(array('TechTips' => function($query){ |
|
38 | + ->with(array('TechTips' => function($query) { |
|
39 | 39 | $query->select('tip_id', 'subject'); |
40 | 40 | })) |
41 | 41 | ->get(); |