Skip to content

Commit d5e1cc1

Browse files
Merge pull request #40 from ubpon/main
Fixed README
2 parents 2a97ed4 + ff99cbe commit d5e1cc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class CookiesServiceProvider extends ServiceProvider
115115
Cookies::optional()
116116
->name('darkmode_enabled')
117117
->description('This cookie helps us remember your preferences regarding the interface\'s brightness.')
118-
->duration(120);
118+
->duration(120)
119119
->accepted(fn(Consent $consent, MyDarkmode $darkmode) => $consent->cookie(value: $darkmode->getDefaultValue()));
120120
}
121121
}

stubs/CookiesServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function registerCookies(): void
2626
// Cookies::optional()
2727
// ->name('darkmode_enabled')
2828
// ->description('This cookie helps us remember your preferences regarding the interface\'s brightness.')
29-
// ->duration(120);
29+
// ->duration(120)
3030
// ->accepted(fn(Consent $consent, MyDarkmode $darkmode) => $consent->cookie(value: $darkmode->getDefaultValue()));
3131
}
3232
}

0 commit comments

Comments
 (0)