File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ public function testGetServiceIds()
253
253
{
254
254
$ builder = new ContainerBuilder ();
255
255
$ builder ->register ('foo ' , 'stdClass ' );
256
- $ builder ->bar = $ bar = new \stdClass ();
257
256
$ builder ->register ('bar ' , 'stdClass ' );
258
257
$ this ->assertEquals (
259
258
[
Original file line number Diff line number Diff line change 4
4
5
5
final class StdClassDecorator
6
6
{
7
+ public $ foo ;
8
+
7
9
public function __construct (\stdClass $ foo )
8
10
{
9
11
$ this ->foo = $ foo ;
Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ public static function create($config)
142
142
143
143
class FoobarCircular
144
144
{
145
+ public $ foo ;
146
+
145
147
public function __construct (FooCircular $ foo )
146
148
{
147
149
$ this ->foo = $ foo ;
@@ -150,6 +152,8 @@ public function __construct(FooCircular $foo)
150
152
151
153
class FooCircular
152
154
{
155
+ public $ bar ;
156
+
153
157
public function __construct (BarCircular $ bar )
154
158
{
155
159
$ this ->bar = $ bar ;
@@ -158,6 +162,8 @@ public function __construct(BarCircular $bar)
158
162
159
163
class BarCircular
160
164
{
165
+ public $ foobar ;
166
+
161
167
public function addFoobar (FoobarCircular $ foobar )
162
168
{
163
169
$ this ->foobar = $ foobar ;
You can’t perform that action at this time.
0 commit comments