Skip to content

Commit 5b90868

Browse files
committed
Remove invalid multiple injection example for members with same type
1 parent a719490 commit 5b90868

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/WEB-INF/classes/AppserverIo/Apps/Example/Actions/Test/TestInjectWithSameNameAction.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,23 @@ class TestInjectWithSameNameAction extends DispatchAction
5454
* The first bean reference.
5555
*
5656
* @var \AppserverIo\Apps\Example\Actions\Test\RandomBeanImplementation
57-
* @EPB\Inject(name="RandomBeanImplementation")
57+
* @EPB\Inject(beanName="RandomBeanImplementation")
5858
*/
5959
protected $beanImpl1;
60-
60+
6161
/**
6262
* The second bean reference.
6363
*
6464
* @var \AppserverIo\Apps\Example\Actions\Test\RandomBeanImplementation
65-
* @EPB\Inject(name="RandomBeanImplementation")
65+
* @EPB\Inject(beanName="RandomBeanImplementation")
6666
*/
6767
protected $beanImpl2;
68-
68+
6969
/**
7070
* The third bean reference.
7171
*
7272
* @var \AppserverIo\Apps\Example\Actions\Test\RandomBeanImplementation
73-
* @EPB\Inject(name="RandomBeanImplementation")
73+
* @EPB\Inject(beanName="RandomBeanImplementation")
7474
*/
7575
protected $beanImpl3;
7676

@@ -83,7 +83,7 @@ public function getBeanImpl1()
8383
{
8484
return $this->beanImpl1;
8585
}
86-
86+
8787
/**
8888
* Returns the second bean reference.
8989
*
@@ -93,7 +93,7 @@ public function getBeanImpl2()
9393
{
9494
return $this->beanImpl2;
9595
}
96-
96+
9797
/**
9898
* Returns the third bean reference.
9999
*

0 commit comments

Comments
 (0)