Skip to content

Commit 48a9e83

Browse files
committed
consistent signature of getDump() in class + trait
1 parent b6ab750 commit 48a9e83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function assertDumpMatchesFormat($dump, $data, $message = '')
2929
$this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message);
3030
}
3131

32-
private function getDump($data)
32+
protected function getDump($data)
3333
{
3434
$h = fopen('php://memory', 'r+b');
3535
$cloner = new VarCloner();

src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function assertDumpMatchesFormat($dump, $data, $message = '')
2929
$this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message);
3030
}
3131

32-
public function getDump($data)
32+
protected function getDump($data)
3333
{
3434
$h = fopen('php://memory', 'r+b');
3535
$cloner = new VarCloner();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy