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

Commit3f83dbb

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [OptionsResolver] setOptions callback should not return a value
2 parentsbc92774 +7b04c5b commit3f83dbb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎components/options_resolver.rst‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,8 +723,11 @@ In same way, parent options can access to the nested options as normal arrays::
723723
// ...
724724
]);
725725
});
726+
726727
$resolver->setOptions('profiling', function (Options $options): void {
727-
return 'file' === $options['spool']['type'];
728+
if ('file' === $options['spool']['type']) {
729+
// ...
730+
}
728731
});
729732
}
730733
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp