@@ -96,7 +96,7 @@ class Cookie implements ArrayAccess, CloneableCookieInterface
9696 * Default attributes for a Cookie object. The keys here are the
9797 * lowercase attribute names. Do not camelCase!
9898 *
99- * @var array<string, bool|int|object| string>
99+ * @var array<string, bool|int|string>
100100 */
101101 private static array $ defaults = [
102102 'prefix ' => '' ,
@@ -124,7 +124,7 @@ class Cookie implements ArrayAccess, CloneableCookieInterface
124124 *
125125 * This method is called from Response::__construct().
126126 *
127- * @param array<string, bool|int|object| string>|CookieConfig $config
127+ * @param array<string, bool|int|string>|CookieConfig $config
128128 *
129129 * @return array<string, mixed> The old defaults array. Useful for resetting.
130130 */
@@ -195,9 +195,9 @@ public static function fromHeaderString(string $cookie, bool $raw = false)
195195 /**
196196 * Construct a new Cookie instance.
197197 *
198- * @param string $name The cookie's name
199- * @param string $value The cookie's value
200- * @param array<string, bool|int|object| string> $options The cookie's options
198+ * @param string $name The cookie's name
199+ * @param string $value The cookie's value
200+ * @param array<string, bool|int|string> $options The cookie's options
201201 *
202202 * @throws CookieException
203203 */
0 commit comments