diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php index 3c8593a8c34a4..cc3e503ef6b81 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php @@ -29,7 +29,7 @@ public function assertDumpMatchesFormat($dump, $data, $message = '') $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message); } - private function getDump($data) + protected function getDump($data) { $h = fopen('php://memory', 'r+b'); $cloner = new VarCloner(); diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php index 325545648d6dc..e5f6bf5b98e7e 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php @@ -29,7 +29,7 @@ public function assertDumpMatchesFormat($dump, $data, $message = '') $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message); } - public function getDump($data) + protected function getDump($data) { $h = fopen('php://memory', 'r+b'); $cloner = new VarCloner();
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: