Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit11a3699

Browse files
committed
Fixed fabbot.io issues
1 parent629fcf1 commit11a3699

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/Symfony/Component/HttpKernel/HttpCache/ResponseCacheStrategy.php‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
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-
* (based on commit 02d2b48d75bcb63cf1c0c7149c077ad256542801)
11-
*
128
* For the full copyright and license information, please view the LICENSE
139
* file that was distributed with this source code.
1410
*/
@@ -173,7 +169,7 @@ private function willMakeFinalResponseUncacheable(Response $response)
173169

174170
// Last-Modified and Etag headers cannot be merged, they render the response uncacheable
175171
// by default (except if the response also has max-age etc.).
176-
if (in_array($response->getStatusCode(),array(200,203,300,301,410))
172+
if (\in_array($response->getStatusCode(),array(200,203,300,301,410))
177173
&&null ===$response->getLastModified()
178174
&&null ===$response->getEtag()
179175
) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp