File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/Symfony/Component/VarDumper/Tests/Caster Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -555,11 +555,11 @@ public function testGenerator()
555
555
function: "Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::baz"
556
556
this: Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo { …}
557
557
%s: {
558
- %sGeneratorDemo.php:14 {
558
+ %sGeneratorDemo.php:12 {
559
559
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo->baz()
560
+ ›
561
+ › public function baz()
560
562
› {
561
- › yield from bar();
562
- › }
563
563
}
564
564
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo->baz() {}
565
565
%A}
@@ -580,7 +580,9 @@ function: "Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::baz"
580
580
%s: {
581
581
%s%eTests%eFixtures%eGeneratorDemo.php:%d {
582
582
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo()
583
- %A › yield 1;
583
+ › {
584
+ › yield 1;
585
+ › }
584
586
%A }
585
587
%s%eTests%eFixtures%eGeneratorDemo.php:20 { …}
586
588
%s%eTests%eFixtures%eGeneratorDemo.php:14 { …}
@@ -592,9 +594,9 @@ function: "Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo"
592
594
%s: {
593
595
%s%eTests%eFixtures%eGeneratorDemo.php:%d {
594
596
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo()
597
+ › {
595
598
› yield 1;
596
599
› }
597
- ›
598
600
}
599
601
%A }
600
602
closed: false
You can’t perform that action at this time.
0 commit comments