Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
46 | 2 | protected function getParentEquipment($parentID) |
|
47 | { |
||
48 | 2 | $parentList = CustomerSystems::where('cust_id', $parentID) |
|
49 | 2 | ->with('CustomerSystemData') |
|
50 | 2 | ->get(); |
|
51 | |||
52 | 2 | Log::debug('Customer Parent Equipment Query completed for Customer ID '.$this->custID.'. Results - ', array($parentList)); |
|
53 | 2 | return $parentList; |
|
54 | } |
||
56 |