File tree Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Original file line number Diff line number Diff line change @@ -302,35 +302,19 @@ the ``decoration_priority`` option. Its value is an integer that defaults to
302302 #[AsDecorator(decorates: Foo::class, priority: 5)]
303303 class Bar
304304 {
305- <<<<<<< HEAD
306- private $inner;
307-
308- public function __construct(#[AutowireDecorated] $inner)
309- {
310- $this->inner = $inner;
311- =======
312305 public function __construct(
313- private #[MapDecorated ] $inner,
306+ private #[AutowireDecorated ] $inner,
314307 ) {
315- >>>>>>> 6.2
316308 }
317309 // ...
318310 }
319311
320312 #[AsDecorator(decorates: Foo::class, priority: 1)]
321313 class Baz
322314 {
323- <<<<<<< HEAD
324- private $inner;
325-
326- public function __construct(#[AutowireDecorated] $inner)
327- {
328- $this->inner = $inner;
329- =======
330315 public function __construct(
331- private #[MapDecorated ] $inner,
316+ private #[AutowireDecorated ] $inner,
332317 ) {
333- >>>>>>> 6.2
334318 }
335319
336320 // ...
@@ -638,17 +622,9 @@ Three different behaviors are available:
638622 #[AsDecorator(decorates: Mailer::class, onInvalid: ContainerInterface::IGNORE_ON_INVALID_REFERENCE)]
639623 class Bar
640624 {
641- <<<<<<< HEAD
642- private $inner;
643-
644- public function __construct(#[AutowireDecorated] $inner)
645- {
646- $this->inner = $inner;
647- =======
648625 public function __construct(
649- private #[MapDecorated ] $inner,
626+ private #[AutowireDecorated ] $inner,
650627 ) {
651- >>>>>>> 6.2
652628 }
653629
654630 // ...
You can’t perform that action at this time.
0 commit comments