File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class CookiesServiceProvider extends ServiceProvider
115
115
Cookies::optional()
116
116
->name('darkmode_enabled')
117
117
->description('This cookie helps us remember your preferences regarding the interface\'s brightness.')
118
- ->duration(120);
118
+ ->duration(120)
119
119
->accepted(fn(Consent $consent, MyDarkmode $darkmode) => $consent->cookie(value: $darkmode->getDefaultValue()));
120
120
}
121
121
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ protected function registerCookies(): void
26
26
// Cookies::optional()
27
27
// ->name('darkmode_enabled')
28
28
// ->description('This cookie helps us remember your preferences regarding the interface\'s brightness.')
29
- // ->duration(120);
29
+ // ->duration(120)
30
30
// ->accepted(fn(Consent $consent, MyDarkmode $darkmode) => $consent->cookie(value: $darkmode->getDefaultValue()));
31
31
}
32
32
}
You can’t perform that action at this time.
0 commit comments