From e6db16a076276a58ef138bcf50bc26b92cbad2c0 Mon Sep 17 00:00:00 2001 From: Josantonius Date: Wed, 11 Sep 2024 16:01:11 +0200 Subject: [PATCH] refactor: remove extra white space after static --- src/Facades/Cookie.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Facades/Cookie.php b/src/Facades/Cookie.php index f8a74c6..a4cb9a1 100644 --- a/src/Facades/Cookie.php +++ b/src/Facades/Cookie.php @@ -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); } @@ -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); } @@ -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); } @@ -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); } @@ -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); } @@ -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); } @@ -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(); }