8000 Comments fixed · symfony/symfony@4ed78ba · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ed78ba

Browse files
committed
Comments fixed
1 parent 0fc0857 commit 4ed78ba

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Symfony/Component/HttpFoundation/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CHANGELOG
44
6.2
55
---
66

7-
* Http cache store uses the `xxh128` algorithm
7+
* The HTTP cache store uses the `xxh128` algorithm
88

99
6.1
1010
---

src/Symfony/Component/HttpKernel/HttpCache/Store.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*
66
* (c) Fabien Potencier <fabien@symfony.com>
77
*
8+
* This code is partially based on the Rack-Cache library by Ryan Tomayko,
9+
* which is released under the MIT license.
10+
*
811
* For the full copyright and license information, please view the LICENSE
912
* file that was distributed with this source code.
1013
*/
@@ -179,7 +182,7 @@ public function write(Request $request, Response $response): string
179182
if ($this->getPath($digest) !== $response->headers->get('X-Body-File')) {
180183
throw new \RuntimeException('X-Body-File and X-Content-Digest do not match.');
181184
}
182-
// Everything seems ok, omit writing content to disk
185+
// Everything seems ok, omit writing content to disk
183186
} else {
184187
$digest = $this->generateContentDigest($response);
185188
$response->headers->set('X-Content-Digest', $digest);

0 commit comments

Comments
 (0)
0