@@ -84,7 +84,7 @@ public static function all(): array
84
84
/**
85
85
* Checks if a cookie exists.
86
86
*/
87
- public static function has (string $ name ): bool
87
+ public static function has (string $ name ): bool
88
88
{
89
89
return self ::getInstance ()->has ($ name );
90
90
}
@@ -94,7 +94,7 @@ public static function has(string $name): bool
94
94
*
95
95
* Optionally defines a default value when the cookie does not exist.
96
96
*/
97
- public static function get (string $ name , mixed $ default = null ): mixed
97
+ public static function get (string $ name , mixed $ default = null ): mixed
98
98
{
99
99
return self ::getInstance ()->get ($ name , $ default );
100
100
}
@@ -110,7 +110,7 @@ public static function get(string $name, mixed $default = null): mixed
110
110
*
111
111
* @throws CookieException if headers already sent.
112
112
*/
113
- public static function set (string $ name , mixed $ value , null |int |DateTime $ expires = null ): void
113
+ public static function set (string $ name , mixed $ value , null |int |DateTime $ expires = null ): void
114
114
{
115
115
self ::getInstance ()->set ($ name , $ value , $ expires );
116
116
}
@@ -129,7 +129,7 @@ public static function set(string $name, mixed $value, null|int|DateTime $expir
129
129
*
130
130
* @throws CookieException if headers already sent.
131
131
*/
132
- public static function replace (array $ data , null |int |DateTime $ expires = null ): void
132
+ public static function replace (array $ data , null |int |DateTime $ expires = null ): void
133
133
{
134
134
self ::getInstance ()->replace ($ data , $ expires );
135
135
}
@@ -141,7 +141,7 @@ public static function replace(array $data, null|int|DateTime $expires = null):
141
141
*
142
142
* @throws CookieException if headers already sent.
143
143
*/
144
- public static function pull (string $ name , mixed $ default = null ): mixed
144
+ public static function pull (string $ name , mixed $ default = null ): mixed
145
145
{
146
146
return self ::getInstance ()->pull ($ name , $ default );
147
147
}
@@ -151,7 +151,7 @@ public static function pull(string $name, mixed $default = null): mixed
151
151
*
152
152
* @throws CookieException if headers already sent.
153
153
*/
154
- public static function remove (string $ name ): void
154
+ public static function remove (string $ name ): void
155
155
{
156
156
self ::getInstance ()->remove ($ name );
157
157
}
@@ -161,7 +161,7 @@ public static function remove(string $name): void
161
161
*
162
162
* @throws CookieException if headers already sent.
163
163
*/
164
- public static function clear (): void
164
+ public static function clear (): void
165
165
{
166
166
self ::getInstance ()->clear ();
167
167
}
0 commit comments