| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function getActivePolicies(): array |
||
| 31 | { |
||
| 32 | $policies = $this->legalConfig['policies']; |
||
| 33 | |||
| 34 | return [ |
||
| 35 | 'privacyPolicy' => $policies['privacy_policy']['enabled'], |
||
| 36 | 'termsOfUse' => $policies['terms_of_use']['enabled'], |
||
| 37 | 'tradeConditions' => $policies['trade_conditions']['enabled'], |
||
| 38 | 'cancellationRightPolicy' => $policies['cancellation_right_policy']['enabled'], |
||
| 39 | 'agePolicy' => 0 !== $this->legalConfig['minimum_age'], |
||
| 40 | ]; |
||
| 43 |