@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | protected function getSettingsModule() |
| 29 | 29 | { |
| 30 | - return Module::where('name', 'settings')->first(); |
|
| 30 | + return Module::where('name', 'settings')->first(); |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | public function testModuleActivationCanBeChanged() |
@@ -82,8 +82,7 @@ |
||
| 82 | 82 | { |
| 83 | 83 | if (empty($data['conditions'])) { |
| 84 | 84 | $data['conditions'] = []; |
| 85 | - } |
|
| 86 | - else { |
|
| 85 | + } else { |
|
| 87 | 86 | $data['conditions'] = (array) $data['conditions']; |
| 88 | 87 | } |
| 89 | 88 | |
@@ -59,12 +59,12 @@ |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * Get ids of related records for n-1 relations |
|
| 63 | - * |
|
| 64 | - * @param Relatedlist $relatedList |
|
| 65 | - * @param integer $recordId |
|
| 66 | - * @return Collection |
|
| 67 | - */ |
|
| 62 | + * Get ids of related records for n-1 relations |
|
| 63 | + * |
|
| 64 | + * @param Relatedlist $relatedList |
|
| 65 | + * @param integer $recordId |
|
| 66 | + * @return Collection |
|
| 67 | + */ |
|
| 68 | 68 | public function getDependentListRecordIds(Relatedlist $relatedList, int $recordId) : Collection |
| 69 | 69 | { |
| 70 | 70 | // Get record |