Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
12 | public function privacyPolicy(): View |
||
13 | { |
||
14 | $title = 'Privacy Policy'; |
||
15 | $meta_title = config('app.name').' - Privacy Policy'; |
||
16 | $meta_keywords = 'privacy,policy,data protection'; |
||
17 | $meta_description = 'Privacy Policy for '.config('app.name'); |
||
18 | // Get privacy policy content from settings (if available) |
||
19 | $privacy_content = $this->settings->privacy_policy ?? null; |
||
|
|||
20 | |||
21 | return view('privacy-policy', compact('title', 'meta_title', 'meta_keywords', 'meta_description', 'privacy_content')); |
||
22 | } |
||
24 |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.