File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/PhpGenerator/expected Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ public function fromPropertyReflection(\ReflectionProperty $from): Property
304304
305305 public function fromObject (object $ obj ): Literal
306306 {
307- return new Literal ('new ' . get_class ($ obj ) . '(/* unknown */) ' );
307+ return new Literal ('new \\ ' . get_class ($ obj ) . '(/* unknown */) ' );
308308 }
309309
310310
Original file line number Diff line number Diff line change 1- #[Attr(new Abc\Attr(/* unknown */))]
1+ #[Attr(new \ Abc\Attr(/* unknown */))]
22class Class11
33{
44 final public const FOO = 10;
@@ -12,7 +12,7 @@ class Class11
1212 }
1313
1414
15- public function bar($c = new stdClass(/* unknown */))
15+ public function bar($c = new \ stdClass(/* unknown */))
1616 {
1717 }
1818}
You can’t perform that action at this time.
0 commit comments