Skip to content

Commit

Permalink
refactor: remove extra white space after static
Browse files Browse the repository at this point in the history
  • Loading branch information
josantonius committed Sep 11, 2024
1 parent 07bdeff commit e6db16a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Facades/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static function all(): array
/**
* Checks if a cookie exists.
*/
public static function has(string $name): bool
public static function has(string $name): bool
{
return self::getInstance()->has($name);
}
Expand All @@ -94,7 +94,7 @@ public static function has(string $name): bool
*
* Optionally defines a default value when the cookie does not exist.
*/
public static function get(string $name, mixed $default = null): mixed
public static function get(string $name, mixed $default = null): mixed
{
return self::getInstance()->get($name, $default);
}
Expand All @@ -110,7 +110,7 @@ public static function get(string $name, mixed $default = null): mixed
*
* @throws CookieException if headers already sent.
*/
public static function set(string $name, mixed $value, null|int|DateTime $expires = null): void
public static function set(string $name, mixed $value, null|int|DateTime $expires = null): void
{
self::getInstance()->set($name, $value, $expires);
}
Expand All @@ -129,7 +129,7 @@ public static function set(string $name, mixed $value, null|int|DateTime $expir
*
* @throws CookieException if headers already sent.
*/
public static function replace(array $data, null|int|DateTime $expires = null): void
public static function replace(array $data, null|int|DateTime $expires = null): void
{
self::getInstance()->replace($data, $expires);
}
Expand All @@ -141,7 +141,7 @@ public static function replace(array $data, null|int|DateTime $expires = null):
*
* @throws CookieException if headers already sent.
*/
public static function pull(string $name, mixed $default = null): mixed
public static function pull(string $name, mixed $default = null): mixed
{
return self::getInstance()->pull($name, $default);
}
Expand All @@ -151,7 +151,7 @@ public static function pull(string $name, mixed $default = null): mixed
*
* @throws CookieException if headers already sent.
*/
public static function remove(string $name): void
public static function remove(string $name): void
{
self::getInstance()->remove($name);
}
Expand All @@ -161,7 +161,7 @@ public static function remove(string $name): void
*
* @throws CookieException if headers already sent.
*/
public static function clear(): void
public static function clear(): void
{
self::getInstance()->clear();
}
Expand Down

0 comments on commit e6db16a

Please sign in to comment.