Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions system/Cookie/CloneableCookieInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public function withExpired();
* Creates a new Cookie that will virtually never expire from the browser.
*
* @return static
*
* @deprecated See https://github.com/codeigniter4/CodeIgniter4/pull/6413
*/
public function withNeverExpiring();

Expand Down
2 changes: 1 addition & 1 deletion system/Cookie/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ public function withExpired()
}

/**
* {@inheritDoc}
* @deprecated See https://github.com/codeigniter4/CodeIgniter4/pull/6413
*/
public function withNeverExpiring()
{
Expand Down
2 changes: 1 addition & 1 deletion user_guide_src/source/changelogs/v4.2.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ none.
Deprecations
************

none.
- :php:meth:`CodeIgniter\\Cookie\\Cookie::withNeverExpiring()` is deprecated.

Bugs Fixed
**********
Expand Down
4 changes: 3 additions & 1 deletion user_guide_src/source/libraries/cookies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ In runtime, you can manually supply a new default using the ``Cookie::setDefault
Class Reference
***************

.. php:namespace:: CodeIgniter\HTTP\Cookie
.. php:namespace:: CodeIgniter\Cookie

.. php:class:: Cookie

Expand Down Expand Up @@ -326,6 +326,8 @@ Class Reference

.. php:method:: withNeverExpiring()

.. important:: This method is deprecated.

:param string $name:
:rtype: ``Cookie``
:returns: new ``Cookie`` instance
Expand Down