diff --git a/src/utils/Cookie.php b/src/utils/Cookie.php index a083406..141a9f3 100644 --- a/src/utils/Cookie.php +++ b/src/utils/Cookie.php @@ -23,7 +23,10 @@ final class Cookie{ - + + /** + * @var (string|int)[] $cookies + */ private static array $cookies = []; public static function get(InternetAddress $address) : int{ @@ -52,7 +55,7 @@ public static function check(InternetAddress $address, int $cookie) : bool{ public static function add(InternetAddress $address) : void{ if (!isset(self::$cookies[$address->toString()])) { - self::$cookies[$address->toString()] = self::generateCookie($address); + self::$cookies[$address->toString()] = self::generate($address); } }