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

Commitd249500

Browse files
committed
CS
1 parent63f6f4d commitd249500

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

‎src/Symfony/Bundle/FrameworkBundle/CacheWarmer/AnnotationsCacheWarmer.php‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,9 @@ protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter)
7979

8080
protectedfunctionwarmUpPhpArrayAdapter(PhpArrayAdapter$phpArrayAdapter,array$values)
8181
{
82-
$values =array_filter($values,function ($val) {
83-
returnnull !==$val;
84-
});
85-
8682
// make sure we don't cache null values
83+
$values =array_filter($values,function ($val) {returnnull !==$val; });
84+
8785
parent::warmUpPhpArrayAdapter($phpArrayAdapter,$values);
8886
}
8987

‎src/Symfony/Bundle/FrameworkBundle/CacheWarmer/ValidatorCacheWarmer.php‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,9 @@ protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter)
7979

8080
protectedfunctionwarmUpPhpArrayAdapter(PhpArrayAdapter$phpArrayAdapter,array$values)
8181
{
82-
$values =array_filter($values,function ($val) {
83-
returnnull !==$val;
84-
});
85-
8682
// make sure we don't cache null values
83+
$values =array_filter($values,function ($val) {returnnull !==$val; });
84+
8785
parent::warmUpPhpArrayAdapter($phpArrayAdapter,$values);
8886
}
8987

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp