Skip to content

Commit 0e57479

Browse files
committed
minor #18887 Corrected missing property promotion. (miqrogroove)
This PR was merged into the 6.3 branch. Discussion ---------- Corrected missing property promotion. Fixes #18886 . Promoted the constructor parameter to a private property to fix the example code. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 6be0972 Corrected missing property promotion.
2 parents 14e6e8e + 6be0972 commit 0e57479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/autowiring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ attribute::
694694
{
695695
public function __construct(
696696
#[AutowireServiceClosure('third_party.remote_message_formatter')]
697-
\Closure $messageFormatterResolver
697+
private \Closure $messageFormatterResolver
698698
) {
699699
}
700700

0 commit comments

Comments
 (0)