Skip to content

Commit 194b271

Browse files
committed
minor #18241 [DependencyInjection] Fix syntax in code example with promoted attribute (jeremyjumeau)
This PR was merged into the 6.2 branch. Discussion ---------- [DependencyInjection] Fix syntax in code example with promoted attribute <!-- 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 ------- 93d4c89 Fix syntax in code example with promoted attribute
2 parents 73a4644 + 93d4c89 commit 194b271

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service_container/service_decoration.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ automatically changed to ``'.inner'``):
153153
class DecoratingMailer
154154
{
155155
public function __construct(
156-
private #[MapDecorated] $inner,
156+
#[MapDecorated]
157+
private $inner,
157158
) {
158159
}
159160

0 commit comments

Comments
 (0)