@@ -33,7 +33,7 @@ There are currently four (4) ways to create a new ``Cookie`` value object.
3333 use CodeIgniter\Cookie\Cookie;
3434 use DateTime;
3535
36- // Throw the constructor
36+ // Using the constructor
3737 $cookie = new Cookie(
3838 'remember_token',
3939 'f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6',
@@ -79,7 +79,7 @@ instance or an array of defaults to the static ``Cookie::setDefaults()`` method.
7979 use CodeIgniter\Cookie\Cookie;
8080 use Config\Cookie as CookieConfig;
8181
82- // pass in an App instance before constructing a Cookie class
82+ // pass in an Config\Cookie instance before constructing a Cookie class
8383 Cookie::setDefaults(new CookieConfig());
8484 $cookie = new Cookie('login_token');
8585
@@ -456,11 +456,11 @@ Class Reference
456456
457457 .. php :staticmethod :: setDefaults([$config = []])
458458
459- :param App |array $config: The configuration array or instance
459+ :param \C onfig \C ookie |array $config: The configuration array or instance
460460 :rtype: array<string, mixed>
461461 :returns: The old defaults
462462
463- Set the default attributes to a Cookie instance by injecting the values from the ``App `` config or an array.
463+ Set the default attributes to a Cookie instance by injecting the values from the ``\Config\Cookie `` config or an array.
464464
465465 .. php :staticmethod :: fromHeaderString(string $header[, bool $raw = false])
466466
0 commit comments