File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1875,7 +1875,7 @@ private function setPhpDefaultLocale(string $locale): void
1875
1875
if (class_exists (\Locale::class, false )) {
1876
1876
\Locale::setDefault ($ locale );
1877
1877
}
1878
- } catch (\Exception $ e ) {
1878
+ } catch (\Exception ) {
1879
1879
}
1880
1880
}
1881
1881
Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ public function getExpires(): ?\DateTimeInterface
700
700
{
701
701
try {
702
702
return $ this ->headers ->getDate ('Expires ' );
703
- } catch (\RuntimeException $ e ) {
703
+ } catch (\RuntimeException ) {
704
704
// according to RFC 2616 invalid date formats (e.g. "0" and "-1") must be treated as in the past
705
705
return \DateTime::createFromFormat ('U ' , time () - 172800 );
706
706
}
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ protected function doDestroy(string $sessionId): bool
82
82
if ($ unlink ) {
83
83
try {
84
84
$ unlink = false !== $ this ->redis ->unlink ($ this ->prefix .$ sessionId );
85
- } catch (\Throwable $ e ) {
85
+ } catch (\Throwable ) {
86
86
$ unlink = false ;
87
87
}
88
88
}
You can’t perform that action at this time.
0 commit comments