Skip to content

Commit 93d4c89

Browse files
authored
Fix syntax in code example with promoted attribute
1 parent c50db62 commit 93d4c89

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)