8000 minor #18131 Fix typos #18090 (taiiiraaa) · symfony/symfony@8ab25a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ab25a3

Browse files
committed
minor #18131 Fix typos #18090 (taiiiraaa)
This PR was merged into the 2.3 branch. Discussion ---------- Fix typos #18090 | Q | A | ------------- | --- | Branch | 2.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #18090 | License | MIT | Doc PR | 1. PHPs session design to PHP's session design 2. Symfony HttpKernel offers to Symfony's HttpKernel offers 3. in which case it it should to in which case it should Commits ------- 6276452 Fix typos #18090 1. PHPs session design to PHP's session design 2. Symfony HttpKernel offers to Symfony's HttpKernel offers 3. in which case it it should to in which case it should
2 parents 97f2321 + 6276452 commit 8ab25a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ public function setName($name);
7676
* Note regenerate+destroy should not clear the session data in memory
7777
* only delete the session data from persistent storage.
7878
*
79-
* Care: When regenerating the session ID no locking is involved in PHPs
79+
* Care: When regenerating the session ID no locking is involved in PHP's
8080
* session design. See https://bugs.php.net/bug.php?id=61470 for a discussion.
8181
* So you must make sure the regenerated session is saved BEFORE sending the
82-
* headers with the new ID. Symfonys HttpKernel offers a listener for this.
82+
* headers with the new ID. Symfony's HttpKernel offers a listener for this.
8383
* See Symfony\Component\HttpKernel\EventListener\SaveSessionListener.
8484
* Otherwise session data could get lost again for concurrent requests with the
8585
* new ID. One result could be that you get logged out after just logging in.
@@ -101,7 +101,7 @@ public function regenerate($destroy = false, $lifetime = null);
101101
*
102102
* This method must invoke session_write_close() unless this interface is
103103
* used for a storage object design for unit or functional testing where
104-
* a real PHP session would interfere with testing, in which case it
104+
* a real PHP session would interfere with testing, in which case
105105
* it should actually persist the session data if required.
106106
*
107107
* @throws \RuntimeException If the session is saved without being started, or if the session

0 commit comments

Comments
 (0)
0