8000 minor #33199 [VarDumper] Remove useless variable (ismail1432) · symfony/symfony@a3a4b19 · GitHub
[go: up one dir, main page]

Skip to content

Commit a3a4b19

Browse files
minor #33199 [VarDumper] Remove useless variable (ismail1432)
This PR was submitted for the 4.4 branch but it was squashed and merged into the 3.4 branch instead (closes #33199). Discussion ---------- [VarDumper] Remove useless variable | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | I think `$out` variable is useless in both case Commits ------- df47058 [VarDumper] Remove useless variable
2 parents 628271d + df47058 commit a3a4b19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/VarDumper/Tests/Dumper/FunctionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testDumpReturnsFirstArg()
2626

2727
ob_start();
2828
$return = dump($var1);
29-
$out = ob_get_clean();
29+
ob_end_clean();
3030

3131
$this->assertEquals($var1, $return);
3232
}
@@ -41,7 +41,7 @@ public function testDumpReturnsAllArgsInArray()
4141

4242
ob_start();
4343
$return = dump($var1, $var2, $var3);
44-
$out = ob_get_clean();
44+
ob_end_clean();
4545

4646
$this->assertEquals([$var1, $var2, $var3], $return);
4747
}

0 commit comments

Comments
 (0)
0